Close Open Privacy Scan

bolt Snapshot: commit a94425b
science engine v1.22
schedule 2026-07-23T00:18:44.275775+00:00

help Not analyzed — coverage too low to judge

Too little of this repository was analyzed to judge — 41/148 dependencies were scanned. This is not a clean result; it means the scan could not run far enough to reach one.

smart_toy AI deps detected: @ai-sdk/anthropic, @ai-sdk/openai, @google/generative-ai, @langchain/openai +1 more — detected in dependencies, not a safety judgment.

App Privacy Score

/100
Not analyzed — coverage too low

Coverage too low to score · 1555 finding(s)

bar_chart Score Breakdown

egress −15
env_fs −3

list Scan Summary

1 high 8 medium 1546 low
First-party packages: 59
Dependency packages: 20
Ecosystem: npm

swap_horiz Application data flows

Not enough of this repository was analyzed to look for application data flows. Absence of findings here is not evidence of a clean result.

hub Dependency data flows (3)
high hono tooling User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
pkgs/npm/[email protected]__reposrc/runtime-tests/node/index.test.ts:236 pkgs/npm/[email protected]__reposrc/runtime-tests/node/index.test.ts:236
medium @vercel/sandbox dependency A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration.
pkgs/npm/@[email protected]__sourcemap/src/api-client/base-client.ts:41 pkgs/npm/@[email protected]__sourcemap/src/api-client/base-client.ts:60
medium @vercel/sandbox dependency A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration.
pkgs/npm/@[email protected]__sourcemap/src/auth/api.ts:13 pkgs/npm/@[email protected]__sourcemap/src/auth/api.ts:12

</> First-Party Code

first-party (npm): examples/next-openai-telemetry-sentry

npm first-party
medium telemetry test-only Excluded from app score #926100d4de927588 Telemetry/analytics SDK usage detected. Confirm user consent and that no PII is sent without a lawful basis.
repo/examples/next-openai-telemetry-sentry/app/global-error.tsx:3
import * as Sentry from '@sentry/nextjs';

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

medium telemetry test-only Excluded from app score #c5fddb3ec2a12db8 Telemetry/analytics SDK usage detected. Confirm user consent and that no PII is sent without a lawful basis.
repo/examples/next-openai-telemetry-sentry/instrumentation-client.ts:5
import {
  captureRouterTransitionStart,
  init,
  replayIntegration,
} from '@sentry/nextjs';

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

medium telemetry test-only Excluded from app score #30e7f3fef57c9ef3 Telemetry/analytics SDK usage detected. Confirm user consent and that no PII is sent without a lawful basis.
repo/examples/next-openai-telemetry-sentry/instrumentation.ts:1
import * as Sentry from '@sentry/nextjs';

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

medium telemetry test-only Excluded from app score #309726da8399be64 Telemetry/analytics SDK usage detected. Confirm user consent and that no PII is sent without a lawful basis.
repo/examples/next-openai-telemetry-sentry/next.config.ts:1
import { withSentryConfig } from '@sentry/nextjs';

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

medium telemetry test-only Excluded from app score #1d3d00dc43d7079a Telemetry/analytics SDK usage detected. Confirm user consent and that no PII is sent without a lawful basis.
repo/examples/next-openai-telemetry-sentry/sentry.edge.config.ts:6
import * as Sentry from '@sentry/nextjs';

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

medium telemetry test-only Excluded from app score #397d5a12bd50743a Telemetry/analytics SDK usage detected. Confirm user consent and that no PII is sent without a lawful basis.
repo/examples/next-openai-telemetry-sentry/sentry.server.config.ts:5
import * as Sentry from '@sentry/nextjs';

A telemetry/analytics SDK is used; event data is sent to a third-party collector.

Fix: Ensure user consent and a lawful basis; strip PII from event payloads.

expand_more 8 low-confidence finding(s)
low env_fs test-only Excluded from app score #496f663ff6b7818c Environment-variable access.
repo/examples/next-openai-telemetry-sentry/instrumentation-client.ts:12
  dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,

Reads environment variables or the filesystem — an inventory-level capability, 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 #6a9a0fa49373108a Environment-variable access.
repo/examples/next-openai-telemetry-sentry/instrumentation.ts:4
  if (process.env.NEXT_RUNTIME === 'nodejs') {

Reads environment variables or the filesystem — an inventory-level capability, 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 #13ba2f243826ba0a Environment-variable access.
repo/examples/next-openai-telemetry-sentry/instrumentation.ts:8
  if (process.env.NEXT_RUNTIME === 'edge') {

Reads environment variables or the filesystem — an inventory-level capability, 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 #0636d9e8d209aef3 Environment-variable access.
repo/examples/next-openai-telemetry-sentry/next.config.ts:6
    org: process.env.SENTRY_ORG,

Reads environment variables or the filesystem — an inventory-level capability, 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 #c63d33c872817c9b Environment-variable access.
repo/examples/next-openai-telemetry-sentry/next.config.ts:7
    project: process.env.SENTRY_PROJECT,

Reads environment variables or the filesystem — an inventory-level capability, 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 #6895abb71f0764a9 Environment-variable access.
repo/examples/next-openai-telemetry-sentry/next.config.ts:9
    silent: !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 test-only Excluded from app score #2fedb5688eb467b7 Environment-variable access.
repo/examples/next-openai-telemetry-sentry/sentry.edge.config.ts:9
  dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,

Reads environment variables or the filesystem — an inventory-level capability, 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 #fd3d3174656bb991 Environment-variable access.
repo/examples/next-openai-telemetry-sentry/sentry.server.config.ts:8
  dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,

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

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

first-party (npm)

npm first-party
expand_more 37 low-confidence finding(s)
low env_fs test-only Excluded from app score #ba2005b240cd0927 Filesystem access.
repo/.github/scripts/cleanup-examples-changesets.mjs:26
    const packageJson = JSON.parse(readFileSync(packageJsonPath, 'utf8'));

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

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

low env_fs test-only Excluded from app score #6f882d85b96512d7 Filesystem access.
repo/.github/scripts/cleanup-examples-changesets.mjs:28
    writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2) + '\n');

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

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

low env_fs test-only Excluded from app score #dfbba974cc8509af Environment-variable access.
repo/.github/scripts/notify-released/index.mjs:7
  process.env.NPM_VERIFY_TIMEOUT_MS || '300000',

Reads environment variables or the filesystem — an inventory-level capability, 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 #f93aa401d1d5e734 Environment-variable access.
repo/.github/scripts/notify-released/index.mjs:14
const publishedPackages = JSON.parse(process.env.PUBLISHED_PACKAGES || 'null');

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

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

low env_fs test-only Excluded from app score #0f3860bdceee8398 Environment-variable access.
repo/.github/scripts/notify-released/index.mjs:20
const pullRequestNumber = parseInt(process.env.PULL_REQUEST_NUMBER, 10);

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

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

low env_fs test-only Excluded from app score #3a46ea7eac163f04 Environment-variable access.
repo/.github/scripts/notify-released/index.mjs:25
const githubToken = process.env.GITHUB_TOKEN;

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

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

low env_fs test-only Excluded from app score #52f231ddf62d6383 Environment-variable access.
repo/.github/scripts/notify-released/index.mjs:30
const [owner, repo] = (process.env.GITHUB_REPOSITORY || 'vercel/ai').split('/');

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

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

low egress test-only Excluded from app score #5f1b3ce3a23ca8d6 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/.github/scripts/notify-released/index.mjs:47
  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 test-only Excluded from app score #8799b809cabe1010 Environment-variable access.
repo/.github/scripts/upload-provenance/index.mjs:24
  process.env.ATTESTATION_TIMEOUT_MS || '300000',

Reads environment variables or the filesystem — an inventory-level capability, 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 #ddea9d6517372da8 Environment-variable access.
repo/.github/scripts/upload-provenance/index.mjs:31
  process.env.RELEASE_LOOKUP_TIMEOUT_MS || '120000',

Reads environment variables or the filesystem — an inventory-level capability, 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 #330a79e9b76a5666 Environment-variable access.
repo/.github/scripts/upload-provenance/index.mjs:38
const publishedPackages = JSON.parse(process.env.PUBLISHED_PACKAGES || 'null');

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

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

low env_fs test-only Excluded from app score #eeccc92e5b17c2e6 Environment-variable access.
repo/.github/scripts/upload-provenance/index.mjs:44
const githubToken = process.env.GITHUB_TOKEN;

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

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

low env_fs test-only Excluded from app score #6edc577ea4e37347 Environment-variable access.
repo/.github/scripts/upload-provenance/index.mjs:49
const [owner, repo] = (process.env.GITHUB_REPOSITORY || 'vercel/ai').split('/');

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

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

low egress test-only Excluded from app score #aa5b3119249aa87d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/.github/scripts/upload-provenance/index.mjs:72
    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 test-only Excluded from app score #438d02ded9138d93 Filesystem access.
repo/.github/workflows/actions/verify-changesets/index.js:91
    await fs.readFile(process.env.GITHUB_EVENT_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 test-only Excluded from app score #7c51d82aaca99e84 Environment-variable access.
repo/.github/workflows/actions/verify-changesets/index.js:91
    await fs.readFile(process.env.GITHUB_EVENT_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 test-only Excluded from app score #03171b640bf006a0 Filesystem access.
repo/.github/workflows/actions/verify-changesets/index.js:101
    await fs.writeFile(
      process.env.GITHUB_STEP_SUMMARY,
      `## Changeset verification passed ✅\n\n${message || ''}`,
    );

Reads environment variables or the filesystem — an inventory-level capability, 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 #4684a423d3112d71 Environment-variable access.
repo/.github/workflows/actions/verify-changesets/index.js:102
      process.env.GITHUB_STEP_SUMMARY,

Reads environment variables or the filesystem — an inventory-level capability, 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 #f19cfeca5748bd2b Filesystem access.
repo/.github/workflows/actions/verify-changesets/index.js:108
    await fs.writeFile(
      process.env.GITHUB_STEP_SUMMARY,
      `## Changeset verification failed ❌

${error.message}`,
    );

Reads environment variables or the filesystem — an inventory-level capability, 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 #75e041c9e21be077 Environment-variable access.
repo/.github/workflows/actions/verify-changesets/index.js:109
      process.env.GITHUB_STEP_SUMMARY,

Reads environment variables or the filesystem — an inventory-level capability, 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 #3a8ed9b0a8eabd2a Environment-variable access.
repo/.github/workflows/actions/verify-changesets/index.js:117
        process.env.GITHUB_STEP_SUMMARY,

Reads environment variables or the filesystem — an inventory-level capability, 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 #97e39545b7811857 Environment-variable access.
repo/.github/workflows/actions/verify-changesets/index.js:124
        process.env.GITHUB_STEP_SUMMARY,

Reads environment variables or the filesystem — an inventory-level capability, 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 #474f338af354775b Filesystem access.
repo/skills/adr-skill/scripts/bootstrap_adr.js:86
  return fs.readFileSync(templatePath, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #7e5aeefd4fc23ecd Filesystem access.
repo/skills/adr-skill/scripts/bootstrap_adr.js:93
  fs.writeFileSync(indexFile, `${content.trimEnd()}\n`, 'utf8');

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

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

low env_fs test-only Excluded from app score #3abd2aeb3bd2ea18 Filesystem access.
repo/skills/adr-skill/scripts/bootstrap_adr.js:169
  let content = fs.readFileSync(indexFile, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #5ea9ece8d7f9c417 Filesystem access.
repo/skills/adr-skill/scripts/bootstrap_adr.js:188
  fs.writeFileSync(indexFile, lines.join('\n'), 'utf8');

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

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

low env_fs test-only Excluded from app score #58dd7d34f5cf86e2 Filesystem access.
repo/skills/adr-skill/scripts/bootstrap_adr.js:234
  fs.writeFileSync(firstAdrPath, `${firstAdrContent.trimEnd()}\n`, 'utf8');

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

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

low env_fs test-only Excluded from app score #accd2ff69e13074d Filesystem access.
repo/skills/adr-skill/scripts/new_adr.js:166
  return fs.readFileSync(templatePath, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #d42f80f3c2300624 Filesystem access.
repo/skills/adr-skill/scripts/new_adr.js:264
  if (fs.existsSync(indexFile)) content = fs.readFileSync(indexFile, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #82543196d7e38265 Filesystem access.
repo/skills/adr-skill/scripts/new_adr.js:290
  fs.writeFileSync(indexFile, next, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #fcb475d8b2d4d299 Filesystem access.
repo/skills/adr-skill/scripts/new_adr.js:367
  fs.writeFileSync(out, `${rendered.trimEnd()}\n`, 'utf8');

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

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

low env_fs test-only Excluded from app score #95d0d9cd5a11355d Filesystem access.
repo/skills/adr-skill/scripts/set_adr_status.js:140
  const content = fs.readFileSync(filePath, 'utf8');

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

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

low env_fs test-only Excluded from app score #a172b521ee652aee Filesystem access.
repo/skills/adr-skill/scripts/set_adr_status.js:154
  fs.writeFileSync(filePath, newContent, 'utf8');

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

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

low env_fs production #90240edcd40cf082 Filesystem access.
repo/tools/split-ts-references.mjs:35
const readConfig = file => JSON.parse(readFileSync(file, 'utf8'));

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

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

low env_fs production #80918335bddd528b Filesystem access.
repo/tools/split-ts-references.mjs:37
  writeFileSync(file, `${JSON.stringify(config, null, 2)}\n`);

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

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

low env_fs production #48e632c908e241d8 Filesystem access.
repo/tools/validate-properties-tables.mjs:32
  const source = readFileSync(abs, 'utf8');

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

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

low env_fs production #a01dce9a18d7cafa Filesystem access.
repo/tools/verify-harness-adapter-deps.mjs:62
  return JSON.parse(readFileSync(filePath, 'utf8'));

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

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

first-party (npm): apps/docs

npm first-party
expand_more 6 low-confidence finding(s)
low egress production #cbe44c282623c3a7 Hardcoded external endpoint. Review what data is sent to this destination.
repo/apps/docs/app/[lang]/layout.tsx:13
  metadataBase: new URL('https://ai-sdk.dev'),

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 #f69303219dd22b9f Environment-variable access.
repo/apps/docs/app/robots.ts:7
    process.env.VERCEL_ENV === 'production' &&

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

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

low env_fs production #62ae004e9ae78104 Environment-variable access.
repo/apps/docs/app/robots.ts:8
    process.env.VERCEL_PROJECT_PRODUCTION_URL === PRODUCTION_DOMAIN;

Reads environment variables or the filesystem — an inventory-level capability, 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 #ce7dff20abc2a642 Filesystem access.
repo/apps/docs/scripts/sync-content.mjs:151
      const mdx = readFileSync(srcPath, "utf8");

Reads environment variables or the filesystem — an inventory-level capability, 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 #2f594c6114116c60 Filesystem access.
repo/apps/docs/scripts/sync-content.mjs:152
      writeFileSync(join(outDir, `${clean}.mdx`), transformMdx(mdx));

Reads environment variables or the filesystem — an inventory-level capability, 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 #395d7593cf532414 Filesystem access.
repo/apps/docs/scripts/sync-content.mjs:170
  writeFileSync(join(outDir, "meta.json"), `${JSON.stringify(meta, 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.

first-party (npm): examples/ai-e2e-next

npm first-party
expand_more 50 low-confidence finding(s)
low env_fs test-only Excluded from app score #1d2eb35ab8945889 Environment-variable access.
repo/examples/ai-e2e-next/agent/anthropic/microsoft-agent.ts:5
  const resourceName = process.env.ANTHROPIC_MICROSOFT_RESOURCE_NAME;

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

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

low env_fs test-only Excluded from app score #25824c01771ddf11 Environment-variable access.
repo/examples/ai-e2e-next/agent/anthropic/microsoft-agent.ts:6
  const apiKey = process.env.ANTHROPIC_MICROSOFT_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #0704a1bc21e48e67 Filesystem access.
repo/examples/ai-e2e-next/agent/openai/compaction-agent.ts:6
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 test-only Excluded from app score #63e56e97e8ad7890 Filesystem access.
repo/examples/ai-e2e-next/agent/openai/compaction-agent.ts:9
const documentCorpus = readFileSync(
  join(process.cwd(), '../ai-functions/data/compaction-data.txt'),
  'utf-8',
);

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

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

low env_fs test-only Excluded from app score #988a1d83d7536d25 Filesystem access.
repo/examples/ai-e2e-next/agent/openai/shell-container-skills-agent.ts:3
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 test-only Excluded from app score #53030ec5dde98aae Filesystem access.
repo/examples/ai-e2e-next/agent/openai/shell-container-skills-agent.ts:6
const skillZip = readFileSync(
  join(process.cwd(), 'data', 'island-rescue-skill.zip'),
).toString('base64');

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

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

low env_fs test-only Excluded from app score #c72e1bf69f2945e4 Filesystem access.
repo/examples/ai-e2e-next/agent/openai/shell-skills-agent.ts:4
import { readFileSync } from 'fs';

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

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

low env_fs test-only Excluded from app score #2989409049b6d950 Filesystem access.
repo/examples/ai-e2e-next/agent/openai/shell-skills-agent.ts:8
const skillMd = readFileSync(
  join(process.cwd(), 'data', 'island-rescue', 'SKILL.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 test-only Excluded from app score #7aa9d9e1cc2c29c2 Filesystem access.
repo/examples/ai-e2e-next/app/api/chat/anthropic-compaction/route.ts:14
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 test-only Excluded from app score #852be9dfd8447389 Filesystem access.
repo/examples/ai-e2e-next/app/api/chat/anthropic-compaction/route.ts:19
const documentCorpus = readFileSync(
  join(process.cwd(), '../ai-functions/data/compaction-data.txt'),
  'utf-8',
);

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

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

low egress test-only Excluded from app score #97aafdccd3c9b119 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-e2e-next/app/api/chat/mcp-with-auth/route.ts:213
          serverUrl: new URL(serverUrl),

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 #90c4e5e453404b8c Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-e2e-next/app/api/chat/mcp-with-auth/route.ts:229
            serverUrl: new URL(serverUrl),

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 test-only Excluded from app score #8af2d36239549196 Environment-variable access.
repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic-microsoft/[file]/route.ts:17
  const resourceName = process.env.ANTHROPIC_MICROSOFT_RESOURCE_NAME;

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

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

low env_fs test-only Excluded from app score #56cd003cff888e3d Environment-variable access.
repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic-microsoft/[file]/route.ts:18
  const apiKey = process.env.ANTHROPIC_MICROSOFT_API_KEY;

Reads environment variables or the filesystem — 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 #48b8bb62fd3e5f45 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic-microsoft/[file]/route.ts:24
  const infoPromise = fetch(infoUrl, {
    method: 'GET',
    headers: {
      'x-api-key': apiKey,
      'anthropic-version': '2023-06-01',
      'anthropic-beta': 'files-api-2025-04-14',
    },
  });

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 pii_flow test-only Excluded from app score #64bb803ef1c3c992 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic-microsoft/[file]/route.ts:26 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic-microsoft/[file]/route.ts:18 → /tmp/closeopen-sl219vn4/repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic-microsoft/[file]/route.ts:26
    headers: {
      'x-api-key': apiKey,
      'anthropic-version': '2023-06-01',
      'anthropic-beta': 'files-api-2025-04-14',
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low egress test-only Excluded from app score #e35e7bb425186e66 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic-microsoft/[file]/route.ts:34
  const downloadPromise = fetch(downloadUrl, {
    method: 'GET',
    headers: {
      'x-api-key': apiKey,
      'anthropic-version': '2023-06-01',
      'anthropic-beta': 'files-api-2025-04-14',
    },
  });

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 pii_flow test-only Excluded from app score #08f8afd691ed7f45 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic-microsoft/[file]/route.ts:36 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic-microsoft/[file]/route.ts:18 → /tmp/closeopen-sl219vn4/repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic-microsoft/[file]/route.ts:36
    headers: {
      'x-api-key': apiKey,
      'anthropic-version': '2023-06-01',
      'anthropic-beta': 'files-api-2025-04-14',
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #60f73d357f8e7848 Environment-variable access.
repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic/[file]/route.ts:17
  const apiKey = process.env.ANTHROPIC_API_KEY;

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

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

low egress test-only Excluded from app score #cefb454f169b087d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic/[file]/route.ts:24
  const infoPromise = fetch(infoUrl, {
    method: 'GET',
    headers: {
      'x-api-key': apiKey,
      'anthropic-version': '2023-06-01',
      'anthropic-beta': 'files-api-2025-04-14',
    },
  });

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 pii_flow test-only Excluded from app score #e1c47ecd6eee20ac A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic/[file]/route.ts:26 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic/[file]/route.ts:17 → /tmp/closeopen-sl219vn4/repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic/[file]/route.ts:26
    headers: {
      'x-api-key': apiKey,
      'anthropic-version': '2023-06-01',
      'anthropic-beta': 'files-api-2025-04-14',
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low egress test-only Excluded from app score #31bfeaea2611b06a Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic/[file]/route.ts:34
  const downloadPromise = fetch(downloadUrl, {
    method: 'GET',
    headers: {
      'x-api-key': apiKey,
      'anthropic-version': '2023-06-01',
      'anthropic-beta': 'files-api-2025-04-14',
    },
  });

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 pii_flow test-only Excluded from app score #37dde2312d5d5a4a A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic/[file]/route.ts:36 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic/[file]/route.ts:17 → /tmp/closeopen-sl219vn4/repo/examples/ai-e2e-next/app/api/code-execution-files/anthropic/[file]/route.ts:36
    headers: {
      'x-api-key': apiKey,
      'anthropic-version': '2023-06-01',
      'anthropic-beta': 'files-api-2025-04-14',
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #5545a938af2ccc13 Environment-variable access.
repo/examples/ai-e2e-next/app/api/download-container-file/azure/route.ts:11
  const resourceName = process.env.AZURE_RESOURCE_NAME;

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

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

low env_fs test-only Excluded from app score #42439a808f901343 Environment-variable access.
repo/examples/ai-e2e-next/app/api/download-container-file/azure/route.ts:16
  const apiKey = process.env.AZURE_API_KEY;

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

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

low egress test-only Excluded from app score #c1093540fba1a4be Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-e2e-next/app/api/download-container-file/azure/route.ts:22
    const response = await fetch(
      `https://${resourceName}.openai.azure.com/openai/v1/containers/${containerId}/files/${fileId}/content`,
      {
        headers: {
          Authorization: `Bearer ${apiKey}`,
        },
      },
    );

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 pii_flow test-only Excluded from app score #bfc0a72758ed6879 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-e2e-next/app/api/download-container-file/azure/route.ts:25 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-e2e-next/app/api/download-container-file/azure/route.ts:16 → /tmp/closeopen-sl219vn4/repo/examples/ai-e2e-next/app/api/download-container-file/azure/route.ts:25
        headers: {
          Authorization: `Bearer ${apiKey}`,
        },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #01a51d18af0b71dc Environment-variable access.
repo/examples/ai-e2e-next/app/api/download-container-file/openai/route.ts:11
  const apiKey = process.env.OPENAI_API_KEY;

Reads environment variables or the filesystem — 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 #b70d62811b9cdab8 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-e2e-next/app/api/download-container-file/openai/route.ts:17
    const response = await fetch(
      `https://api.openai.com/v1/containers/${containerId}/files/${fileId}/content`,
      {
        headers: {
          Authorization: `Bearer ${apiKey}`,
        },
      },
    );

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 pii_flow test-only Excluded from app score #80c261a11ad6151c A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-e2e-next/app/api/download-container-file/openai/route.ts:20 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-e2e-next/app/api/download-container-file/openai/route.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-e2e-next/app/api/download-container-file/openai/route.ts:20
        headers: {
          Authorization: `Bearer ${apiKey}`,
        },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #0ebb790b436e2d84 Environment-variable access.
repo/examples/ai-e2e-next/app/chat/direct-transport/page.tsx:16
  apiKey: process.env.NEXT_PUBLIC_OPENAI_API_KEY,

Reads environment variables or the filesystem — 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 #6e8bad9c6e61b3b9 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-e2e-next/app/chat/mcp-apps/page.tsx:29
  const response = await fetch(url, init);

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 test-only Excluded from app score #06ffe1e06e49a103 Environment-variable access.
repo/examples/ai-e2e-next/app/chat/openai-direct/page.tsx:21
  apiKey: process.env.NEXT_PUBLIC_OPENAI_API_KEY,

Reads environment variables or the filesystem — an inventory-level capability, 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 #bd4e10d4532d7f02 Filesystem access.
repo/examples/ai-e2e-next/lib/apply-patch-file-editor.ts:54
      await fs.writeFile(targetPath, content, 'utf8');

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

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

low env_fs test-only Excluded from app score #b8475184c369ef59 Filesystem access.
repo/examples/ai-e2e-next/lib/apply-patch-file-editor.ts:69
      const original = await fs
        .readFile(targetPath, 'utf8')

Reads environment variables or the filesystem — an inventory-level capability, 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 #1a06b29ad463a2d3 Filesystem access.
repo/examples/ai-e2e-next/lib/apply-patch-file-editor.ts:78
      await fs.writeFile(targetPath, patched, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #a5eb9c7e41812e0e Filesystem access.
repo/examples/ai-e2e-next/lib/apply-patch-file-editor.ts:105
    return await fs.readFile(targetPath, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #c1f1cc9f6097c035 Filesystem access.
repo/examples/ai-e2e-next/sandbox/vercel-sandbox.ts:96
    const result = await this.sandbox.readFile({
      path: this.resolvePath(path),
    });

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

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

low env_fs test-only Excluded from app score #4a7a08f50aa221d0 Filesystem access.
repo/examples/ai-e2e-next/sandbox/vercel-sandbox.ts:129
    const stream = await this.readFile({ path, abortSignal });

Reads environment variables or the filesystem — an inventory-level capability, 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 #fadcd7725600231c Filesystem access.
repo/examples/ai-e2e-next/sandbox/vercel-sandbox.ts:143
    await this.writeFile({
      path,
      content: bytesToStream(content),
      abortSignal,
    });

Reads environment variables or the filesystem — 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 #05e5c909baddbad3 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-e2e-next/tool/fetch-pdf-tool.ts:10
    const response = await fetch(
      'https://raw.githubusercontent.com/vercel/ai/main/examples/ai-functions/data/ai.pdf',
    );

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 test-only Excluded from app score #6b2a287e71542d53 Filesystem access.
repo/examples/ai-e2e-next/util/chat-store.ts:2
import { existsSync, mkdirSync, writeFileSync } from 'fs';

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

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

low env_fs test-only Excluded from app score #449731a43dd416a3 Filesystem access.
repo/examples/ai-e2e-next/util/chat-store.ts:3
import { 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 test-only Excluded from app score #ac3ade70b9d9ffad Filesystem access.
repo/examples/ai-e2e-next/util/chat-store.ts:15
  await writeFile(getChatFile(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 test-only Excluded from app score #f5db37fdb630f200 Filesystem access.
repo/examples/ai-e2e-next/util/chat-store.ts:26
  await writeFile(getChatFile(chatId), JSON.stringify(messages, null, 2));

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

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

low env_fs test-only Excluded from app score #54640e2e628d911b Filesystem access.
repo/examples/ai-e2e-next/util/chat-store.ts:39
  await writeFile(file, JSON.stringify(messages, null, 2));

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

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

low env_fs test-only Excluded from app score #b2ac818737ae2d73 Filesystem access.
repo/examples/ai-e2e-next/util/chat-store.ts:43
  return JSON.parse(await readFile(getChatFile(id), 'utf8'));

Reads environment variables or the filesystem — an inventory-level capability, 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 #86c71c3fd2261576 Filesystem access.
repo/examples/ai-e2e-next/util/chat-store.ts:53
    writeFileSync(chatFile, '[]');

Reads environment variables or the filesystem — an inventory-level capability, 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 #490ebadf18d28588 Filesystem access.
repo/examples/ai-e2e-next/util/chat-store.ts:69
  await writeFile(file, JSON.stringify(streams, null, 2));

Reads environment variables or the filesystem — an inventory-level capability, 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 #bcdafd0f0b7f7f67 Filesystem access.
repo/examples/ai-e2e-next/util/chat-store.ts:75
  return JSON.parse(await readFile(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.

first-party (npm): examples/ai-functions

npm first-party
expand_more 650 low-confidence finding(s)
low env_fs test-only Excluded from app score #7f02d7e476eddb52 Filesystem access.
repo/examples/ai-functions/src/agent/anthropic/cache-instruction.ts:10
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #c02f44c93e75bcf9 Environment-variable access.
repo/examples/ai-functions/src/agent/openai/generate-local-sandbox.ts:7
    rootDirectory: `${process.env.HOME}/Downloads`,

Reads environment variables or the filesystem — an inventory-level capability, 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 #494fcb8d263c52f4 Environment-variable access.
repo/examples/ai-functions/src/agent/openai/stream-local-sandbox.ts:8
    rootDirectory: `${process.env.HOME}/Downloads`,

Reads environment variables or the filesystem — an inventory-level capability, 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 #a99a01da22e0af05 Filesystem access.
repo/examples/ai-functions/src/benchmark/load-time.ts:2
import { appendFileSync } 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 #aebd215c16c2ae4b Environment-variable access.
repo/examples/ai-functions/src/benchmark/load-time.ts:76
  if (process.env.GITHUB_OUTPUT) {

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

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

low env_fs test-only Excluded from app score #f9eba5e7aaf43b40 Environment-variable access.
repo/examples/ai-functions/src/benchmark/load-time.ts:83
        process.env.GITHUB_OUTPUT,

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

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

low env_fs test-only Excluded from app score #90d05c00f0e87742 Filesystem access.
repo/examples/ai-functions/src/e2e/amazon-bedrock-anthropic.test.ts:8
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #83f8b8f204834606 Environment-variable access.
repo/examples/ai-functions/src/e2e/amazon-bedrock-anthropic.test.ts:27
    region: process.env.AWS_REGION ?? 'us-east-1',

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

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

low env_fs test-only Excluded from app score #29ec3763bd59f9bc Filesystem access.
repo/examples/ai-functions/src/e2e/amazon-bedrock-anthropic.test.ts:135
                    data: fs
                      .readFileSync('./data/screenshot-editor.png')

Reads environment variables or the filesystem — an inventory-level capability, 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 #6a7b6def65b91a37 Environment-variable access.
repo/examples/ai-functions/src/e2e/azure.test.ts:19
      createChatModel(process.env.AZURE_OPENAI_DEPLOYMENT_NAME ?? 'gpt-4o'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #7c83614864590c21 Environment-variable access.
repo/examples/ai-functions/src/e2e/azure.test.ts:21
    embeddingModels: process.env.AZURE_OPENAI_EMBEDDING_DEPLOYMENT_NAME

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

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

low env_fs test-only Excluded from app score #c666ebefebb0dfa2 Environment-variable access.
repo/examples/ai-functions/src/e2e/azure.test.ts:25
              process.env.AZURE_OPENAI_EMBEDDING_DEPLOYMENT_NAME,

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

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

low env_fs test-only Excluded from app score #0dcbcd9bb13d7ba7 Environment-variable access.
repo/examples/ai-functions/src/e2e/azure.test.ts:42
  !process.env.AZURE_RESOURCE_NAME || !process.env.AZURE_OPENAI_AD_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 test-only Excluded from app score #bac8df731bc6ab6c Environment-variable access.
repo/examples/ai-functions/src/e2e/azure.test.ts:46
      resourceName: process.env.AZURE_RESOURCE_NAME!,

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

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

low env_fs test-only Excluded from app score #24eaedead3e7a382 Environment-variable access.
repo/examples/ai-functions/src/e2e/azure.test.ts:47
      tokenProvider: async () => process.env.AZURE_OPENAI_AD_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 test-only Excluded from app score #8ed2042f455ab3c6 Environment-variable access.
repo/examples/ai-functions/src/e2e/azure.test.ts:51
      model: azure(process.env.AZURE_OPENAI_DEPLOYMENT_NAME ?? 'gpt-4o'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #7843634b5295d7ad Filesystem access.
repo/examples/ai-functions/src/e2e/feature-test-suite.ts:20
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #ff53ff78c727b7ae Filesystem access.
repo/examples/ai-functions/src/e2e/feature-test-suite.ts:810
                          data: fs
                            .readFileSync('./data/comic-cat.png')

Reads environment variables or the filesystem — an inventory-level capability, 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 #546c9c687e8f8889 Filesystem access.
repo/examples/ai-functions/src/e2e/feature-test-suite.ts:871
                          data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #3a9550b5c5300dad Filesystem access.
repo/examples/ai-functions/src/e2e/feature-test-suite.ts:907
                        data: fs
                          .readFileSync('./data/ai.pdf')

Reads environment variables or the filesystem — an inventory-level capability, 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 #9bf723987539a97b Filesystem access.
repo/examples/ai-functions/src/e2e/feature-test-suite.ts:942
                            fs.readFileSync('./data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #41b10898c8f891a4 Filesystem access.
repo/examples/ai-functions/src/e2e/google-vertex-anthropic.test.ts:13
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #eee31162f50e45ec Environment-variable access.
repo/examples/ai-functions/src/e2e/google-vertex-anthropic.test.ts:48
    project: process.env.GOOGLE_VERTEX_PROJECT!,

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

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

low env_fs test-only Excluded from app score #fe3ac443eceb2277 Environment-variable access.
repo/examples/ai-functions/src/e2e/google-vertex-anthropic.test.ts:50
    location: process.env.GOOGLE_VERTEX_LOCATION ?? 'us-east5',

Reads environment variables or the filesystem — an inventory-level capability, 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 #e2637e4763d17a16 Filesystem access.
repo/examples/ai-functions/src/e2e/google-vertex-anthropic.test.ts:131
                    data: fs
                      .readFileSync('./data/screenshot-editor.png')

Reads environment variables or the filesystem — an inventory-level capability, 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 #7653b292295e60ee Filesystem access.
repo/examples/ai-functions/src/embed-many/google/gemini-embedding-2-preview-multimodal.ts:3
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 test-only Excluded from app score #21c090fe49d29e48 Filesystem access.
repo/examples/ai-functions/src/embed-many/google/gemini-embedding-2-preview-multimodal.ts:7
  const imageData = readFileSync('./data/comic-cat.png').toString('base64');

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

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

low pii_flow test-only Excluded from app score #c3473377f8be30da A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:9 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:9
    headers: {
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #b3dd361bcbd1f63b Environment-variable access.
repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:10
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #07e7f5f58ad6c1d4 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:23 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:23
  console.log(embeddings);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #4e0786c7a8b59bba PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:24 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:24
  console.log(usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #e674f1cf60b5a520 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:25 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed-many/openai/compatible-togetherai.ts:25
  console.log(warnings);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #c3be1cba765112a1 Filesystem access.
repo/examples/ai-functions/src/embed/google/gemini-embedding-2-preview-multimodal.ts:3
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 test-only Excluded from app score #e2be6691a10e3f24 Filesystem access.
repo/examples/ai-functions/src/embed/google/gemini-embedding-2-preview-multimodal.ts:7
  const imageData = readFileSync('./data/comic-cat.png').toString('base64');

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

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

low pii_flow test-only Excluded from app score #6c2fa42d844c4ebb A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:9 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:9
    headers: {
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #dc7d4de4359c79cc Environment-variable access.
repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:10
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #581db5dc1fcf0037 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:19 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:19
  console.log(embedding);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #f985d4ed614dd92d PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:20 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:20
  console.log(usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #3837f822723628b8 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:21 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/embed/openai/compatible-togetherai.ts:21
  console.log(warnings);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #b565fd7742d81b21 Filesystem access.
repo/examples/ai-functions/src/generate-image/amazon-bedrock/edit-inpainting-mask.ts:8
  const image = readFileSync('data/sunlit_lounge.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #d4b4e6e3813fa9de Filesystem access.
repo/examples/ai-functions/src/generate-image/amazon-bedrock/edit-inpainting-mask.ts:9
  const mask = readFileSync('data/sunlit_lounge_mask_white_black.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #9d82a249f964f576 Filesystem access.
repo/examples/ai-functions/src/generate-image/amazon-bedrock/edit-inpainting.ts:8
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #9f20c0a1d7f2bae0 Filesystem access.
repo/examples/ai-functions/src/generate-image/amazon-bedrock/edit-outpainting.ts:11
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #8e4d26ce79aaee77 Filesystem access.
repo/examples/ai-functions/src/generate-image/amazon-bedrock/edit-remove-background.ts:8
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #9993250eaf16ef6b Filesystem access.
repo/examples/ai-functions/src/generate-image/amazon-bedrock/edit-variations.ts:11
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #00b80a027a1baff9 Filesystem access.
repo/examples/ai-functions/src/generate-image/bytedance/edit-multi-reference.ts:17
        readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #a3bdfe4295223b45 Filesystem access.
repo/examples/ai-functions/src/generate-image/bytedance/edit-multi-reference.ts:18
        readFileSync('data/comic-dog.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #c6444118882bd60a Filesystem access.
repo/examples/ai-functions/src/generate-image/bytedance/edit.ts:12
      images: [readFileSync('data/comic-cat.png')],

Reads environment variables or the filesystem — an inventory-level capability, 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 #96f5dc27e1a893cf Filesystem access.
repo/examples/ai-functions/src/generate-image/deepinfra/edit-inpainting.ts:8
  const image = readFileSync('data/sunlit_lounge.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #0ab76fbe411daa7c Filesystem access.
repo/examples/ai-functions/src/generate-image/deepinfra/edit-inpainting.ts:9
  const mask = readFileSync('data/sunlit_lounge_mask.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #d9abe9e931a9fb0b Filesystem access.
repo/examples/ai-functions/src/generate-image/deepinfra/edit-multi-image.ts:8
  const cat = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #6d25815bff1e5cac Filesystem access.
repo/examples/ai-functions/src/generate-image/deepinfra/edit-multi-image.ts:9
  const dog = readFileSync('data/comic-dog.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #54b920f4dcb859c1 Filesystem access.
repo/examples/ai-functions/src/generate-image/deepinfra/edit.ts:8
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #fbbec2346774975e Filesystem access.
repo/examples/ai-functions/src/generate-image/fal/kontext-edit-mask.ts:8
  const imageBuffer = readFileSync('data/sunlit_lounge.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #9097f12f455110b3 Filesystem access.
repo/examples/ai-functions/src/generate-image/fal/kontext-edit-mask.ts:9
  const maskBuffer = readFileSync('data/sunlit_lounge_mask_white_black.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #22a254606be53223 Filesystem access.
repo/examples/ai-functions/src/generate-image/fireworks/edit-style.ts:8
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #193b77c8160b6589 Filesystem access.
repo/examples/ai-functions/src/generate-image/fireworks/edit.ts:8
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #4ceeaf855e9f28b4 Filesystem access.
repo/examples/ai-functions/src/generate-image/gateway/openai-edit.ts:7
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #d7fe2e0d824610a8 Filesystem access.
repo/examples/ai-functions/src/generate-image/google/gemini-editing.ts:20
  await fs.promises.writeFile(
    `output/cat-base-${timestamp}.png`,
    baseImage.uint8Array,
  );

Reads environment variables or the filesystem — an inventory-level capability, 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 #bed22bfdee85b959 Filesystem access.
repo/examples/ai-functions/src/generate-image/google/vertex-edit-outpaint.ts:11
  const image = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #7f25bffff3e971c0 Filesystem access.
repo/examples/ai-functions/src/generate-image/google/vertex-edit-outpaint.ts:12
  const mask = readFileSync('data/comic-cat-mask-2.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #f61046561a77c868 Filesystem access.
repo/examples/ai-functions/src/generate-image/google/vertex-edit.ts:11
  const image = readFileSync('data/sunlit_lounge.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #5378e8f7cf66ea26 Filesystem access.
repo/examples/ai-functions/src/generate-image/google/vertex-edit.ts:12
  const mask = readFileSync('data/sunlit_lounge_mask_black_white.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #07379b6f3ef35145 Filesystem access.
repo/examples/ai-functions/src/generate-image/google/vertex-gemini-editing.ts:20
  await fs.promises.writeFile(
    `output/cat-base-${timestamp}.png`,
    baseImage.uint8Array,
  );

Reads environment variables or the filesystem — an inventory-level capability, 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 #fc4131e54bdfa94c Environment-variable access.
repo/examples/ai-functions/src/generate-image/openai/compatible-edit-inpainting.ts:11
  apiKey: process.env.OPENAI_API_KEY,

Reads environment variables or the filesystem — an inventory-level capability, 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 #c37b48baffe5bbcc Filesystem access.
repo/examples/ai-functions/src/generate-image/openai/compatible-edit-inpainting.ts:15
  const image = readFileSync('data/sunlit_lounge.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #5ebf8bd98103d37b Filesystem access.
repo/examples/ai-functions/src/generate-image/openai/compatible-edit-inpainting.ts:16
  const mask = readFileSync('data/sunlit_lounge_mask.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #16d59def38678f82 Environment-variable access.
repo/examples/ai-functions/src/generate-image/openai/compatible-edit.ts:11
  apiKey: process.env.OPENAI_API_KEY,

Reads environment variables or the filesystem — an inventory-level capability, 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 #e53f8f7ac6abaf28 Filesystem access.
repo/examples/ai-functions/src/generate-image/openai/compatible-edit.ts:15
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #76916f4b6edc02df Environment-variable access.
repo/examples/ai-functions/src/generate-image/openai/compatible-options.ts:12
  apiKey: process.env.OPENAI_API_KEY,

Reads environment variables or the filesystem — an inventory-level capability, 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 #53d61a9cc263278b Filesystem access.
repo/examples/ai-functions/src/generate-image/openai/edit-inpainting.ts:8
  const image = readFileSync('data/sunlit_lounge.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #3dd1c6a8e3b58291 Filesystem access.
repo/examples/ai-functions/src/generate-image/openai/edit-inpainting.ts:9
  const mask = readFileSync('data/sunlit_lounge_mask.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #d331426b5b13dfca Filesystem access.
repo/examples/ai-functions/src/generate-image/openai/edit-input-fidelity.ts:8
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #4a86719e59368672 Filesystem access.
repo/examples/ai-functions/src/generate-image/openai/edit-multi-image.ts:8
  const cat = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #5ca0fd725ea38fe9 Filesystem access.
repo/examples/ai-functions/src/generate-image/openai/edit-multi-image.ts:9
  const dog = readFileSync('data/comic-dog.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #7b677e10f6984f01 Filesystem access.
repo/examples/ai-functions/src/generate-image/openai/edit-multi-image.ts:10
  const owl = readFileSync('data/comic-owl.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #dcab624c76e1776d Filesystem access.
repo/examples/ai-functions/src/generate-image/openai/edit-multi-image.ts:11
  const bear = readFileSync('data/comic-bear.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #8d2550786efb6beb Filesystem access.
repo/examples/ai-functions/src/generate-image/openai/edit-remove-background.ts:8
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #bff0e1ab2d5ad51e Filesystem access.
repo/examples/ai-functions/src/generate-image/openai/edit.ts:8
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #dc9e9159188a881b Filesystem access.
repo/examples/ai-functions/src/generate-image/quiverai/vectorize.ts:11
      images: [await fs.readFile('data/wtf-logo.png')],

Reads environment variables or the filesystem — an inventory-level capability, 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 #f0018a97a4581fae Filesystem access.
repo/examples/ai-functions/src/generate-image/replicate/edit-inpainting.ts:11
  const image = readFileSync('data/sunlit_lounge.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #dd829d1655978918 Filesystem access.
repo/examples/ai-functions/src/generate-image/replicate/edit-inpainting.ts:12
  const mask = readFileSync('data/sunlit_lounge_mask_black_white.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #987d1972ad3d19ef Filesystem access.
repo/examples/ai-functions/src/generate-image/replicate/edit-multi-image.ts:12
  const cat = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #7a77339edc374d75 Filesystem access.
repo/examples/ai-functions/src/generate-image/replicate/edit-multi-image.ts:13
  const dog = readFileSync('data/comic-dog.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #18882251592be6f0 Filesystem access.
repo/examples/ai-functions/src/generate-image/replicate/edit.ts:10
  const referenceImage = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #d84583dc386a975f Filesystem access.
repo/examples/ai-functions/src/generate-image/togetherai/edit.ts:11
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #2c55514aa1400026 Filesystem access.
repo/examples/ai-functions/src/generate-image/xai/edit-multi-image.ts:8
  const cat = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #52fa5a5a93237162 Filesystem access.
repo/examples/ai-functions/src/generate-image/xai/edit-multi-image.ts:9
  const dog = readFileSync('data/comic-dog.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #df9bc3e5d372f586 Filesystem access.
repo/examples/ai-functions/src/generate-image/xai/edit.ts:8
  const imageBuffer = readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #ee1e8b9b561fafac Environment-variable access.
repo/examples/ai-functions/src/generate-speech/elevenlabs/basic.ts:10
    voice: process.env.ELEVENLABS_VOICE_ID || 'your-voice-id-here',

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

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

low env_fs test-only Excluded from app score #eaf340be388071db Filesystem access.
repo/examples/ai-functions/src/generate-text/alibaba/explicit-cache-single-array.ts:3
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 test-only Excluded from app score #78e9a94304658065 Filesystem access.
repo/examples/ai-functions/src/generate-text/alibaba/explicit-cache-single-array.ts:12
  const longUserContent = readFileSync(
    join(__dirname, '../../../data/compaction-data.txt'),
    'utf-8',
  );

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

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

low env_fs test-only Excluded from app score #0d01af746628c6d5 Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/anthropic-computer-use-computer.ts:4
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #c39251ef04d8b06d Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/anthropic-computer-use-computer.ts:21
                data: fs
                  .readFileSync('./data/screenshot-editor.png')

Reads environment variables or the filesystem — 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 #d4f07c4350eb785d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/anthropic-custom-fetch.ts:10
    const result = await fetch(url, 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 test-only Excluded from app score #0cd7268ee909eb71 Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/anthropic-image.ts:4
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #5a3cdb8f58fc7ee6 Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/anthropic-image.ts:21
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #fbea43498eba275c Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/anthropic-pdf.ts:4
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #b73b27088deb37b4 Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/anthropic-pdf.ts:20
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #5a3390b6a32e389f Environment-variable access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/api-key.ts:38
    process.env.AWS_BEARER_TOKEN_BEDROCK || 'your-api-key-here';

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

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

low pii_flow test-only Excluded from app score #f7aeb157664e4f7e PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/api-key.ts:53 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/amazon-bedrock/api-key.ts:38 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/amazon-bedrock/api-key.ts:53
    console.log('Generated explanation:', result2.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #1a5a7e1cebedae1a PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/api-key.ts:54 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/amazon-bedrock/api-key.ts:38 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/amazon-bedrock/api-key.ts:54
    console.log('Token usage:', result2.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #2413173a8007b59f Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/cache-point-assistant.ts:6
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #798f0c45f5716909 Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/cache-point-system.ts:6
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #b66fa3a134e49f98 Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/cache-point-ttl.ts:6
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #664f8e47e25c1475 Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/cache-point-user-image.ts:16
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #46f73c4171d02bd2 Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/cache-point-user.ts:6
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #37cab5a4a0a0fa30 Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/document-support.ts:3
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 test-only Excluded from app score #a8f45b1d7b8f5755 Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/document-support.ts:60
        const fileBuffer = readFileSync(filePath);

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

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

low env_fs test-only Excluded from app score #fdb701db35fa5447 Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/image.ts:18
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #e6b13066a582bd4c Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/output-object-document-citations.ts:7
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #f77675db14db1826 Filesystem access.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/output-object-document-citations.ts:29
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — 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 #d925a0e39cb69f94 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/amazon-bedrock/tool-call-image-result.ts:27
          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 test-only Excluded from app score #90cb30ddad361bfe Environment-variable access.
repo/examples/ai-functions/src/generate-text/anthropic/auth-token.ts:7
  baseURL: process.env.ANTHROPIC_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 test-only Excluded from app score #b97720345d9aae1a Environment-variable access.
repo/examples/ai-functions/src/generate-text/anthropic/auth-token.ts:8
  authToken: process.env.ANTHROPIC_AUTH_TOKEN,

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

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

low env_fs test-only Excluded from app score #83c1473ad743930c Environment-variable access.
repo/examples/ai-functions/src/generate-text/anthropic/bash-tool.ts:13
      rootDirectory: `${process.env.HOME}/Downloads`,

Reads environment variables or the filesystem — an inventory-level capability, 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 #d60f639fece17d91 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/cache-control-beta-1h-streaming.ts:9
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #4986eab4a546a48e Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/cache-control-beta-1h.ts:9
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #80247853647f41a0 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/cache-control.ts:9
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — 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 #cc6115a55d5850e8 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/anthropic/chatbot-websearch.ts:12
    return await fetch(url, 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 test-only Excluded from app score #7eaf8e604bc49d1c Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:4
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 #15403218f39d5c2c Environment-variable access.
repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:35
    const apiKey = process.env.ANTHROPIC_API_KEY;

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

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

low egress test-only Excluded from app score #c3277e6ff58c926f Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:41
    const infoPromise = fetch(infoUrl, {
      method: 'GET',
      headers: {
        'x-api-key': apiKey,
        'anthropic-version': '2023-06-01',
        'anthropic-beta': 'files-api-2025-04-14',
      },
    });

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 pii_flow test-only Excluded from app score #c67ac51168c58e1c A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:43 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:35 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:43
      headers: {
        'x-api-key': apiKey,
        'anthropic-version': '2023-06-01',
        'anthropic-beta': 'files-api-2025-04-14',
      },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low egress test-only Excluded from app score #7dfe5fd70d2bd2d7 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:51
    const downloadPromise = fetch(downloadUrl, {
      method: 'GET',
      headers: {
        'x-api-key': apiKey,
        'anthropic-version': '2023-06-01',
        'anthropic-beta': 'files-api-2025-04-14',
      },
    });

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 pii_flow test-only Excluded from app score #89d46ec790b434cc A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:53 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:35 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:53
      headers: {
        'x-api-key': apiKey,
        'anthropic-version': '2023-06-01',
        'anthropic-beta': 'files-api-2025-04-14',
      },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #7044c2441b4d9b56 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:95
    fs.writeFileSync(outputPath, buffer);

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

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

low pii_flow test-only Excluded from app score #33b24fbb4a59ecd4 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:97 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:35 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:97
    console.log(`file saved: ${outputPath}`);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #1a667b2cae493ee8 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:98 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:35 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/code-execution-20250825-downloads.ts:98
    console.log(`file size: ${buffer.length} bytes`);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #25121fc5459d06e1 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/code-execution-file-upload.ts:4
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 #af50a56ef0d0ce8d Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/code-execution-file-upload.ts:9
    data: fs.readFileSync('./data/sample.csv'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #efa50b3d7c59bfa4 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/compaction-pause.ts:6
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 test-only Excluded from app score #497ffa5d0a658879 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/compaction-pause.ts:13
const documentCorpus = readFileSync(
  join(__dirname, '../../data/compaction-data.txt'),
  'utf-8',
);

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

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

low env_fs test-only Excluded from app score #c8269062cec07ba6 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/compaction.ts:6
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 test-only Excluded from app score #52d57c9111cbac4e Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/compaction.ts:13
const documentCorpus = readFileSync(
  join(__dirname, '../../data/compaction-data.txt'),
  'utf-8',
);

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

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

low env_fs test-only Excluded from app score #aa15446d2805c64a Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/computer-use-computer.ts:22
                data: fs
                  .readFileSync('./data/screenshot-editor.png')

Reads environment variables or the filesystem — an inventory-level capability, 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 #27c7bd7851b60ab1 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/computer-use-zoom.ts:23
                data: fs
                  .readFileSync('./data/screenshot-editor.png')

Reads environment variables or the filesystem — an inventory-level capability, 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 #ec545b55bbd869ba Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/computer-use-zoom.ts:33
                data: fs
                  .readFileSync('./data/screenshot-editor.png')

Reads environment variables or the filesystem — an inventory-level capability, 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 #e2c03c621c3d0c45 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/context-management-compaction.ts:6
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 test-only Excluded from app score #ae39ea062b5a3729 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/context-management-compaction.ts:13
const documentCorpus = readFileSync(
  join(__dirname, '../../data/compaction-data.txt'),
  'utf-8',
);

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

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

low egress test-only Excluded from app score #a9c53e0bae017376 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/anthropic/custom-fetch.ts:13
    return await fetch(url, 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 test-only Excluded from app score #69c6f913994b3829 Environment-variable access.
repo/examples/ai-functions/src/generate-text/anthropic/custom-provider-name.ts:13
    apiKey: process.env.ANTHROPIC_API_KEY,

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

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

low env_fs test-only Excluded from app score #1dccf0192dc29189 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/file-part-citations.ts:3
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 test-only Excluded from app score #88b8b75c76ffb289 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/file-part-citations.ts:9
  const pdfBase64 = readFileSync(pdfPath).toString('base64');

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

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

low env_fs test-only Excluded from app score #f70ebbd7c5465ff4 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/image.ts:16
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #19ac1e0a0950a44a Environment-variable access.
repo/examples/ai-functions/src/generate-text/anthropic/microsoft.ts:6
  const resourceName = process.env.ANTHROPIC_MICROSOFT_RESOURCE_NAME;

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

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

low env_fs test-only Excluded from app score #f4757bd33536685b Environment-variable access.
repo/examples/ai-functions/src/generate-text/anthropic/microsoft.ts:7
  const apiKey = process.env.ANTHROPIC_MICROSOFT_API_KEY;

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

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

low pii_flow test-only Excluded from app score #12cd255fefa2fdbd PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/anthropic/microsoft.ts:21 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/microsoft.ts:7 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/microsoft.ts:21
  console.log(result.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #be3549abc92c59c1 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/anthropic/microsoft.ts:23 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/microsoft.ts:7 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/microsoft.ts:23
  console.log('Token usage:', result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #e94d6a9f24b209c3 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/anthropic/microsoft.ts:24 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/microsoft.ts:7 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/anthropic/microsoft.ts:24
  console.log('Finish reason:', result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #3084f8705d6d5604 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/pdf-tool-results-base64.ts:5
import fs from 'fs/promises';

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

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

low env_fs test-only Excluded from app score #0e4c780898465d56 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/pdf-tool-results-base64.ts:15
        const pdfData = await fs.readFile(pdfpath);

Reads environment variables or the filesystem — 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 #812d27577c84a78d Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/anthropic/pdf-url.ts:18
            data: new URL(
              'https://github.com/vercel/ai/blob/main/examples/ai-functions/data/ai.pdf?raw=true',
            ),

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 test-only Excluded from app score #7906a4e000d7d211 Filesystem access.
repo/examples/ai-functions/src/generate-text/anthropic/pdf.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — 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 #dd0de322f088a098 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/anthropic/reasoning-chatbot.ts:15
    return await fetch(url, 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 egress test-only Excluded from app score #1c5e09f29f3c8831 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/azure/custom-fetch.ts:13
    return await fetch(url, 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 test-only Excluded from app score #a587e5d518aa6cd1 Environment-variable access.
repo/examples/ai-functions/src/generate-text/azure/deepseek-reasoning.ts:7
  baseURL: process.env.AZURE_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 test-only Excluded from app score #4f78a3ab22df15f6 Filesystem access.
repo/examples/ai-functions/src/generate-text/azure/image.ts:7
  const imageData = fs.readFileSync('data/comic-cat.png');

Reads environment variables or the filesystem — 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 #7c7db30803c53d10 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/azure/responses-default.ts:8
    return fetch(input, init);

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 test-only Excluded from app score #0c069d646c0a3352 Filesystem access.
repo/examples/ai-functions/src/generate-text/azure/responses-pdf.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #27389b20940ec271 Environment-variable access.
repo/examples/ai-functions/src/generate-text/azure/responses.ts:7
  resourceName: process.env.AZURE_RESOURCE_NAME,

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

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

low env_fs test-only Excluded from app score #c9600db43de94599 Environment-variable access.
repo/examples/ai-functions/src/generate-text/azure/responses.ts:8
  apiKey: process.env.AZURE_API_KEY,

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

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

low pii_flow test-only Excluded from app score #8f06108fc4e1a581 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/azure/responses.ts:19 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/azure/responses.ts:8 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/azure/responses.ts:19
  console.log(basicResult.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #8c7129220f4fae30 Filesystem access.
repo/examples/ai-functions/src/generate-text/cohere/image.ts:17
            data: fs.readFileSync('./data/comic-cat.png').toString('base64'),

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

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

low env_fs test-only Excluded from app score #22175818fa07fdc3 Filesystem access.
repo/examples/ai-functions/src/generate-text/gateway/image-base64.ts:16
            data: fs.readFileSync('./data/comic-cat.png').toString('base64'),

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

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

low env_fs test-only Excluded from app score #9d083aaffcdc0664 Filesystem access.
repo/examples/ai-functions/src/generate-text/gateway/image-data-url.ts:7
  const imageData = fs.readFileSync('./data/comic-cat.png');

Reads environment variables or the filesystem — an inventory-level capability, 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 #870160543306b555 Filesystem access.
repo/examples/ai-functions/src/generate-text/gateway/pdf.ts:18
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #f5f362e2cf40528f Environment-variable access.
repo/examples/ai-functions/src/generate-text/gateway/request-byok.ts:12
          anthropic: [{ apiKey: process.env.ANTHROPIC_API_KEY }],

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

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

low pii_flow test-only Excluded from app score #0fb52c71318adf87 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/gateway/request-byok.ts:18 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/gateway/request-byok.ts:12 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/gateway/request-byok.ts:18
  console.log(result.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #ab781098b6e3a59a PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/gateway/request-byok.ts:20 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/gateway/request-byok.ts:12 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/gateway/request-byok.ts:20
  console.log('Usage:', result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #ef4ca0cc0cc78918 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/gateway/request-byok.ts:21 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/gateway/request-byok.ts:12 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/gateway/request-byok.ts:21
  console.log(JSON.stringify(result.finalStep.providerMetadata, null, 2));

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #5e1564382f94435e Filesystem access.
repo/examples/ai-functions/src/generate-text/google/audio.ts:17
            data: fs.readFileSync('./data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #1ce69b67df6f9568 Filesystem access.
repo/examples/ai-functions/src/generate-text/google/caching.ts:6
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — 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 #a753862ae8288384 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/google/custom-fetch.ts:13
    return await fetch(url, 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 test-only Excluded from app score #973b271fe4bd5517 Filesystem access.
repo/examples/ai-functions/src/generate-text/google/image-tool-result-base64.ts:15
        const imageData = await fs.readFile(imagePath);

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

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

low env_fs test-only Excluded from app score #f292a49bbea3fbe8 Filesystem access.
repo/examples/ai-functions/src/generate-text/google/image-tool-result-data-url.ts:15
        const imageData = await fs.readFile(imagePath);

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

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

low env_fs test-only Excluded from app score #01786239b7eca85e Filesystem access.
repo/examples/ai-functions/src/generate-text/google/image-tool-result-old.ts:4
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 #edb64d57f47f58bd Filesystem access.
repo/examples/ai-functions/src/generate-text/google/image-tool-result-old.ts:9
  const fileBuffer = await fs.promises.readFile(filePath);

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

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

low env_fs test-only Excluded from app score #19e186cc955feaeb Filesystem access.
repo/examples/ai-functions/src/generate-text/google/image.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #f2b24caf57607844 Environment-variable access.
repo/examples/ai-functions/src/generate-text/google/interactions-agent-abort.ts:18
  const apiKey = process.env.GOOGLE_GENERATIVE_AI_API_KEY;

Reads environment variables or the filesystem — 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 #35a120fda8f6a031 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/google/interactions-agent-abort.ts:32
    const response = await fetch(input, init);

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 #19a994d0d8750665 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/google/interactions-agent-abort.ts:97
  const verify = await fetch(`${baseURL}/interactions/${interactionId}`, {
    headers: { 'x-goog-api-key': apiKey },
  });

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 pii_flow test-only Excluded from app score #3e45ef30990937b4 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/google/interactions-agent-abort.ts:98 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/google/interactions-agent-abort.ts:18 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/google/interactions-agent-abort.ts:98
    headers: { 'x-goog-api-key': apiKey },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low pii_flow test-only Excluded from app score #87fc1f8a454193b9 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/google/interactions-agent-abort.ts:101 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/google/interactions-agent-abort.ts:18 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/google/interactions-agent-abort.ts:101
  console.log('Server-reported status:', body.status);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #5f9b0ca420e4e59c Filesystem access.
repo/examples/ai-functions/src/generate-text/google/interactions-image-base64.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #43beca11153659a5 Filesystem access.
repo/examples/ai-functions/src/generate-text/google/interactions-image-reference.ts:9
    data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #2944322d28acbbeb Filesystem access.
repo/examples/ai-functions/src/generate-text/google/interactions-pdf.ts:20
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #c2bcd5f79a5e7702 Filesystem access.
repo/examples/ai-functions/src/generate-text/google/output-object-caching.ts:7
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #9ed813e7043da46e Environment-variable access.
repo/examples/ai-functions/src/generate-text/google/output-object-gemini-files.ts:10
    process.env.GOOGLE_GENERATIVE_AI_API_KEY!,

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

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

low pii_flow test-only Excluded from app score #30b769c2ddf1901f PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/google/output-object-gemini-files.ts:46 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/google/output-object-gemini-files.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/google/output-object-gemini-files.ts:46
  console.log(result.output);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #0f7a921ff06971bc Filesystem access.
repo/examples/ai-functions/src/generate-text/google/pdf-tool-results-base64.ts:15
        const pdfData = await fs.readFile(pdfPath);

Reads environment variables or the filesystem — an inventory-level capability, 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 #9a8b0d748e4e1041 Filesystem access.
repo/examples/ai-functions/src/generate-text/google/pdf-tool-results-data-url.ts:15
        const pdfData = await fs.readFile(pdfPath);

Reads environment variables or the filesystem — an inventory-level capability, 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 #a91f956f019fd130 Filesystem access.
repo/examples/ai-functions/src/generate-text/google/pdf.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #bbac3abf6d3f4676 Filesystem access.
repo/examples/ai-functions/src/generate-text/google/vertex-anthropic-cache-control.ts:7
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #8ceb66e704273049 Filesystem access.
repo/examples/ai-functions/src/generate-text/google/vertex-anthropic-computer-use-computer.ts:22
                data: fs
                  .readFileSync('./data/screenshot-editor.png')

Reads environment variables or the filesystem — 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 #186ea4439f5db67e Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/google/vertex-anthropic-custom-fetch.ts:9
    const result = await fetch(url, 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 test-only Excluded from app score #623e1ce41271ba7f Filesystem access.
repo/examples/ai-functions/src/generate-text/google/vertex-anthropic-image.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #1fae7571e90a4f2a Filesystem access.
repo/examples/ai-functions/src/generate-text/google/vertex-anthropic-pdf.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #7080c8a07ecd57df Filesystem access.
repo/examples/ai-functions/src/generate-text/google/vertex-audio.ts:25
            data: Buffer.from(fs.readFileSync('./data/galileo.mp3')),

Reads environment variables or the filesystem — an inventory-level capability, 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 #c40be042640d2130 Environment-variable access.
repo/examples/ai-functions/src/generate-text/google/vertex-express.ts:7
    apiKey: process.env.GOOGLE_VERTEX_API_KEY,

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

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

low pii_flow test-only Excluded from app score #f2def2b96c9920e8 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/google/vertex-express.ts:15 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/google/vertex-express.ts:7 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/google/vertex-express.ts:15
  console.log(result.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #464f8db5f81c60f9 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/google/vertex-express.ts:17 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/google/vertex-express.ts:7 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/google/vertex-express.ts:17
  console.log('Token usage:', result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #5927dcf4c5f876b4 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/google/vertex-express.ts:18 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/google/vertex-express.ts:7 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/google/vertex-express.ts:18
  console.log('Finish reason:', result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #14a4274af363e0e6 Filesystem access.
repo/examples/ai-functions/src/generate-text/google/vertex-image-base64.ts:17
            data: fs.readFileSync('./data/comic-cat.png').toString('base64'),

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

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

low env_fs test-only Excluded from app score #f697ffdb7c25b805 Environment-variable access.
repo/examples/ai-functions/src/generate-text/google/vertex-maas-eu-multi-region.ts:5
const project = process.env.GOOGLE_VERTEX_PROJECT!;

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

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

low env_fs test-only Excluded from app score #dbebb8695769736a Filesystem access.
repo/examples/ai-functions/src/generate-text/google/vertex-pdf.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — 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 #21884cb36446f030 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/mistral/custom-fetch.ts:13
    return await fetch(url, 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 test-only Excluded from app score #9fcabe9c30fb5ffa Filesystem access.
repo/examples/ai-functions/src/generate-text/mistral/image-base64.ts:17
            data: fs.readFileSync('./data/comic-cat.png').toString('base64'),

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

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

low egress test-only Excluded from app score #95bc4403ca92051b Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/mistral/pdf-url.ts:18
            data: new URL(
              'https://github.com/vercel/ai/blob/main/examples/ai-functions/data/ai.pdf?raw=true',
            ),

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 test-only Excluded from app score #5bda0368fbb6fad9 Filesystem access.
repo/examples/ai-functions/src/generate-text/moonshot/cache.ts:7
  const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

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

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

low pii_flow test-only Excluded from app score #42de73c8ea5dfc8a A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/nim/basic.ts:9 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/basic.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/basic.ts:9
    headers: {
      Authorization: `Bearer ${process.env.NIM_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #699f6598427eeabc Environment-variable access.
repo/examples/ai-functions/src/generate-text/nim/basic.ts:10
      Authorization: `Bearer ${process.env.NIM_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #95cf622fd4fd2b7a PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/nim/basic.ts:19 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/basic.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/basic.ts:19
  console.log(result.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #ed1488836af3935d PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/nim/basic.ts:21 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/basic.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/basic.ts:21
  console.log('Token usage:', result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #9774f298121bf8f3 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/nim/basic.ts:22 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/basic.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/basic.ts:22
  console.log('Finish reason:', result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #7bd72a26bf4d7b1e A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/nim/output-object.ts:10 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/output-object.ts:10
    headers: {
      Authorization: `Bearer ${process.env.NIM_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #6089b2b2406d97d8 Environment-variable access.
repo/examples/ai-functions/src/generate-text/nim/output-object.ts:11
      Authorization: `Bearer ${process.env.NIM_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #2a31856dc4dc9814 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/nim/output-object.ts:29 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/output-object.ts:29
  console.log(JSON.stringify(result.output, null, 2));

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #7724c3ccf30fc09d PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/nim/output-object.ts:31 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/output-object.ts:31
  console.log('Token usage:', result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #d14cbdc6bc12453f PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/nim/output-object.ts:32 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/nim/output-object.ts:32
  console.log('Finish reason:', result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #5fb73cfcbee4ca20 Filesystem access.
repo/examples/ai-functions/src/generate-text/open-responses/lmstudio-image.ts:22
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #66c1b3f9aaaeb30b Environment-variable access.
repo/examples/ai-functions/src/generate-text/open-responses/openai-pdf-file-input.ts:8
  apiKey: process.env.OPENAI_API_KEY,

Reads environment variables or the filesystem — 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 #3719b73878b52200 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/open-responses/openai-pdf-file-input.ts:24
            data: new URL(
              'https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf',
            ),

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 pii_flow test-only Excluded from app score #bf565e045a42f779 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/open-responses/openai-pdf-file-input.ts:34 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/openai-pdf-file-input.ts:8 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/openai-pdf-file-input.ts:34
  console.log(JSON.stringify(result.response.body, null, 2));

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #72b34cd12ad87bdc Environment-variable access.
repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:8
  apiKey: process.env.OPENAI_API_KEY,

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

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

low pii_flow test-only Excluded from app score #9ac483ef280f7ce0 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:24 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:8 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:24
  console.log(JSON.stringify(result.response.body, null, 2));

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #53bda8f3ac5f8b45 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:26 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:8 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:26
  console.log('Reasoning:', result.reasoning);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #a2daeb46a49dcd19 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:27 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:8 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:27
  console.log(result.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #02181eee65706349 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:29 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:8 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:29
  console.log('Token usage:', result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #cd9cfb50653e0681 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:30 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:8 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:30
  console.log('Finish reason:', result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #7a8e8f12954e8561 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:31 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:8 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/open-responses/reasoning.ts:31
  console.log('Request:', JSON.stringify(result.request, null, 2));

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #796c57566960a4de Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/audio.ts:17
            data: fs.readFileSync('./data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #23e500305efb78c2 Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/compaction.ts:3
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 test-only Excluded from app score #70a3527f0de083cf Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/compaction.ts:10
const documentCorpus = readFileSync(
  join(__dirname, '../../../data/compaction-data.txt'),
  'utf-8',
);

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

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

low pii_flow test-only Excluded from app score #e9dc1da534c77586 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-chat-provider-options.ts:10 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-chat-provider-options.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-chat-provider-options.ts:10
    headers: {
      Authorization: `Bearer ${process.env.OPENAI_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #fa2c8d425f5e5a5f Environment-variable access.
repo/examples/ai-functions/src/generate-text/openai/compatible-chat-provider-options.ts:11
      Authorization: `Bearer ${process.env.OPENAI_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #8cb7645231daaae9 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-chat-provider-options.ts:27 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-chat-provider-options.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-chat-provider-options.ts:27
  console.log(result.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #6ea009cf12935c55 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-chat-provider-options.ts:28 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-chat-provider-options.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-chat-provider-options.ts:28
  console.log(result.request.body);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #c4d0f32d122298be A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-deepseek.ts:8 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-deepseek.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-deepseek.ts:8
  headers: {
    Authorization: `Bearer ${process.env.DEEPSEEK_API_KEY ?? ''}`,
  },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #da6a7732b5176ab8 Environment-variable access.
repo/examples/ai-functions/src/generate-text/openai/compatible-deepseek.ts:9
    Authorization: `Bearer ${process.env.DEEPSEEK_API_KEY ?? ''}`,

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

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

low pii_flow test-only Excluded from app score #a33b56ea6318ff41 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-deepseek.ts:19 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-deepseek.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-deepseek.ts:19
  console.log(text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #81c18e852fc1c1ab PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-deepseek.ts:21 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-deepseek.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-deepseek.ts:21
  console.log('Usage:', usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #045e65c8807f6e59 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:10 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:10
    headers: {
      Authorization: `Bearer ${process.env.GOOGLE_GENERATIVE_AI_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #8459505fee76cd2a Environment-variable access.
repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:11
      Authorization: `Bearer ${process.env.GOOGLE_GENERATIVE_AI_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #467534ab15b445e6 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:81 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:81
  console.log(result1.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #22d9de074eb1867c PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:121 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:121
    console.log(result2.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #8581f16e3ca603f7 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:165 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-google-thought-signatures.ts:165
  console.log(parallelResult.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #c491eaa1b5186cd3 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-openai-image.ts:10 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-openai-image.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-openai-image.ts:10
    headers: {
      Authorization: `Bearer ${process.env.OPENAI_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #216b454ec158083e Environment-variable access.
repo/examples/ai-functions/src/generate-text/openai/compatible-openai-image.ts:11
      Authorization: `Bearer ${process.env.OPENAI_API_KEY}`,

Reads environment variables or the filesystem — an inventory-level capability, 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 #071f1bc82a2a01b6 Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/compatible-openai-image.ts:25
            data: fs.readFileSync('./data/comic-cat.png'),

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

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

low pii_flow test-only Excluded from app score #adedf1ac66272c49 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-openai-image.ts:32 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-openai-image.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-openai-image.ts:32
  console.log(result.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #1095023f2ab8b846 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:10 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:10
    headers: {
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #d9cba056be946810 Environment-variable access.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:11
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #dd4e5199dadbd7ad PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:35 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:35
  console.log(JSON.stringify(result.output?.recipe, null, 2));

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #79fc0eb3cfdefb6f PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:37 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:37
  console.log('Token usage:', result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #dcdf210031f92829 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:38 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-output-object.ts:38
  console.log('Finish reason:', result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #57898388b8cc59c0 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:11 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:12 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:11
    headers: {
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #84b971bf6ee7dfe1 Environment-variable access.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:12
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #a4e1bb1ddb4b4775 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:73 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:12 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:73
  console.log('Text:', result.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #adb379eec1b35706 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:74 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:12 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:74
  console.log('Tool Calls:', JSON.stringify(result.toolCalls, null, 2));

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #693480bba8f1f4d0 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:75 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:12 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai-tool-call.ts:75
  console.log('Tool Results:', JSON.stringify(result.toolResults, null, 2));

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #e5acf9041e8ee328 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:9 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:9
    headers: {
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #163ea5f57f1ee790 Environment-variable access.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:10
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #52bb1f120dae387c PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:19 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:19
  console.log(result.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #73d98534f95906e4 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:21 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:21
  console.log('Token usage:', result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #73e8ae4a9fe81e0b PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:22 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/compatible-togetherai.ts:22
  console.log('Finish reason:', result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low egress test-only Excluded from app score #842fd7290e01d113 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/openai/custom-fetch.ts:13
    return await fetch(url, 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 test-only Excluded from app score #1e6caded29ff89fb Environment-variable access.
repo/examples/ai-functions/src/generate-text/openai/custom-headers.ts:6
  apiKey: process.env.OPENAI_API_KEY!,

Reads environment variables or the filesystem — 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 #29d4dd887ab5e75e Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/openai/custom-headers.ts:13
    return fetch(url, 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 pii_flow test-only Excluded from app score #65c3b36acfb8d414 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/generate-text/openai/custom-headers.ts:27 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/custom-headers.ts:6 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/generate-text/openai/custom-headers.ts:27
  console.log(result.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #8f972a07e0839012 Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/file-reference.ts:9
    data: await readFile('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #5c701e3a6b3abb99 Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/image-base64.ts:18
            data: fs.readFileSync('./data/comic-cat.png').toString('base64'),

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

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

low env_fs test-only Excluded from app score #53ddae17e5710a38 Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/image-data-tagged.ts:7
  const bytes = new Uint8Array(await readFile('./data/comic-cat.png'));

Reads environment variables or the filesystem — 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 #06574126f65bcfac Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/openai/image-url-tagged.ts:18
              url: new URL(
                'https://github.com/vercel/ai/blob/main/examples/ai-functions/data/comic-cat.png?raw=true',
              ),

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 test-only Excluded from app score #351126838206cea7 Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/image.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #bee64d232b41b95f Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/output-object-multimodal.ts:28
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — 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 #3099257319e88ebe Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/openai/output-object-request-headers.ts:14
      return fetch(url, init);

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 #5f7f5fffd95e5ea2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/openai/pdf-url.ts:18
            data: new URL(
              'https://github.com/vercel/ai/blob/main/examples/ai-functions/data/ai.pdf?raw=true',
            ),

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 test-only Excluded from app score #724b29c71be51f62 Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/pdf.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #5bdf1d7bb1d2b536 Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/responses-apply-patch.ts:31
    const content = await fs.readFile(filePath, 'utf8');

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

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

low env_fs test-only Excluded from app score #2da12ff6684c06e2 Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/responses-image.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #04c929536f6bbbb3 Environment-variable access.
repo/examples/ai-functions/src/generate-text/openai/responses-mcp-tool-connectors.ts:5
if (!process.env.GOOGLE_TEMP_OAUTH_KEY) {

Reads environment variables or the filesystem — an inventory-level capability, 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 #787ae87661ca8126 Environment-variable access.
repo/examples/ai-functions/src/generate-text/openai/responses-mcp-tool-connectors.ts:21
        authorization: process.env.GOOGLE_TEMP_OAUTH_KEY,

Reads environment variables or the filesystem — 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 #79b83a84c4de8986 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/openai/responses-pdf-url.ts:18
            data: new URL(
              'https://github.com/vercel/ai/blob/main/examples/ai-functions/data/ai.pdf?raw=true',
            ),

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 test-only Excluded from app score #7f7235bfa2d7c312 Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/responses-pdf.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — 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 #f7fe83cff800dd63 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/openai/responses-roundtrip-server-side-tools.ts:12
    return await fetch(url, 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 test-only Excluded from app score #42cac7c5750b8fce Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/responses-shell-container-skills.ts:3
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 test-only Excluded from app score #600348a2d47e213f Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/responses-shell-container-skills.ts:6
const skillZip = readFileSync('data/island-rescue-skill.zip').toString(

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

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

low env_fs test-only Excluded from app score #1af7c725a7ac9a8c Filesystem access.
repo/examples/ai-functions/src/generate-text/openai/responses.ts:7
  const screenshot = fs
    .readFileSync('./data/screenshot-editor.png')

Reads environment variables or the filesystem — 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 #5ea4ee9c0c6f8516 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/generate-text/perplexity/pdf-url.ts:18
            data: new URL('https://example.com/path/to/document.pdf'),

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 test-only Excluded from app score #c3e52cd2480160c4 Filesystem access.
repo/examples/ai-functions/src/generate-text/perplexity/pdf.ts:3
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #35be624648bcbad6 Filesystem access.
repo/examples/ai-functions/src/generate-text/perplexity/pdf.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #b1ad84c39c83e047 Filesystem access.
repo/examples/ai-functions/src/generate-text/vercel/image.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #63d4f520785ff278 Filesystem access.
repo/examples/ai-functions/src/generate-text/xai/image-detail.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #d5d7f6acc6751170 Filesystem access.
repo/examples/ai-functions/src/generate-text/xai/image.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #db438c168818207a Filesystem access.
repo/examples/ai-functions/src/generate-text/xai/responses-image.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #2a55387c5df67045 Filesystem access.
repo/examples/ai-functions/src/generate-video/google/i2v-frame-images.ts:18
            image: fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #4b69f8f5246bfb05 Filesystem access.
repo/examples/ai-functions/src/generate-video/google/i2v-frame-images.ts:22
            image: fs.readFileSync('data/comic-dog.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #138ac05f61b49ac5 Filesystem access.
repo/examples/ai-functions/src/generate-video/google/r2v-reference-images.ts:17
          fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #42b2910515b7647b Filesystem access.
repo/examples/ai-functions/src/generate-video/google/r2v-reference-images.ts:18
          fs.readFileSync('data/comic-dog.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #06c2f68c84c9baa8 Filesystem access.
repo/examples/ai-functions/src/generate-video/google/r2v-reference-media-type.ts:18
            data: fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #1374b34c9a4aecdd Filesystem access.
repo/examples/ai-functions/src/generate-video/google/r2v-reference-media-type.ts:22
            data: fs.readFileSync('data/comic-dog.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #07b0c25ff8879552 Filesystem access.
repo/examples/ai-functions/src/generate-video/klingai/r2v-reference-media-type.ts:22
            data: fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #1d672a8ccbf220e4 Filesystem access.
repo/examples/ai-functions/src/generate-video/prodia/img2vid.ts:13
        image: fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #02eb4695dc8635d0 Filesystem access.
repo/examples/ai-functions/src/generate-video/vertex/i2v-frame-images.ts:23
            image: fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #1b1e961a3f226bbc Filesystem access.
repo/examples/ai-functions/src/generate-video/vertex/i2v-frame-images.ts:27
            image: fs.readFileSync('data/comic-dog.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #6de688a00e807717 Filesystem access.
repo/examples/ai-functions/src/generate-video/vertex/r2v-reference-images.ts:22
          fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #f73f0cfc3469b06c Filesystem access.
repo/examples/ai-functions/src/generate-video/vertex/r2v-reference-images.ts:23
          fs.readFileSync('data/comic-dog.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #a33a6a0e47a709be Filesystem access.
repo/examples/ai-functions/src/generate-video/vertex/r2v-reference-media-type.ts:23
            data: fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #46e9317a0478f7b6 Filesystem access.
repo/examples/ai-functions/src/generate-video/vertex/r2v-reference-media-type.ts:27
            data: fs.readFileSync('data/comic-dog.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #a693e5eb7010677f Filesystem access.
repo/examples/ai-functions/src/generate-video/vertex/veo-i2v-base64.ts:18
          image: fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #b9181cf2dc882524 Filesystem access.
repo/examples/ai-functions/src/generate-video/xai/i2v-base64.ts:15
          image: fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #0071c1da002a28f6 Filesystem access.
repo/examples/ai-functions/src/generate-video/xai/i2v-frame-images.ts:19
            image: fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #5915996c968b86f4 Filesystem access.
repo/examples/ai-functions/src/generate-video/xai/r2v-reference-images.ts:19
          fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #1493e34721ecfcb2 Filesystem access.
repo/examples/ai-functions/src/generate-video/xai/r2v-reference-images.ts:20
          fs.readFileSync('data/comic-dog.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #57b40571f1fb5cc1 Filesystem access.
repo/examples/ai-functions/src/generate-video/xai/r2v-reference-media-type.ts:20
            data: fs.readFileSync('data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #1b3a620692612daf Environment-variable access.
repo/examples/ai-functions/src/harness-agent/claude-code/vercel-sandbox-resume.ts:17
  const token = process.env.VERCEL_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 test-only Excluded from app score #da20c61f36709796 Environment-variable access.
repo/examples/ai-functions/src/harness-agent/claude-code/vercel-sandbox-resume.ts:18
  const teamId = process.env.VERCEL_TEAM_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 test-only Excluded from app score #76fb394c7417b4dc Environment-variable access.
repo/examples/ai-functions/src/harness-agent/claude-code/vercel-sandbox-resume.ts:19
  const projectId = process.env.VERCEL_PROJECT_ID;

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

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

low env_fs test-only Excluded from app score #7855b185b06e69dd Environment-variable access.
repo/examples/ai-functions/src/harness-agent/codex/vercel-sandbox-resume.ts:17
  const token = process.env.VERCEL_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 test-only Excluded from app score #ddf321d0af36794d Environment-variable access.
repo/examples/ai-functions/src/harness-agent/codex/vercel-sandbox-resume.ts:18
  const teamId = process.env.VERCEL_TEAM_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 test-only Excluded from app score #9cd5b2a6ea11e9fd Environment-variable access.
repo/examples/ai-functions/src/harness-agent/codex/vercel-sandbox-resume.ts:19
  const projectId = process.env.VERCEL_PROJECT_ID;

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

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

low env_fs test-only Excluded from app score #4e67ba58e797d788 Environment-variable access.
repo/examples/ai-functions/src/harness-agent/deepagents/gateway-model.ts:32
      model: process.env.PROBE_MODEL ?? 'google/gemini-2.5-flash',

Reads environment variables or the filesystem — an inventory-level capability, 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 #0fb05eb8cf5525cf Environment-variable access.
repo/examples/ai-functions/src/harness-agent/deepagents/vercel-sandbox-resume.ts:17
  const token = process.env.VERCEL_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 test-only Excluded from app score #3fb0e3ff6ad9d77f Environment-variable access.
repo/examples/ai-functions/src/harness-agent/deepagents/vercel-sandbox-resume.ts:18
  const teamId = process.env.VERCEL_TEAM_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 test-only Excluded from app score #9323c703fa523704 Environment-variable access.
repo/examples/ai-functions/src/harness-agent/deepagents/vercel-sandbox-resume.ts:19
  const projectId = process.env.VERCEL_PROJECT_ID;

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

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

low env_fs test-only Excluded from app score #4de0810aa6793275 Environment-variable access.
repo/examples/ai-functions/src/harness-agent/opencode/vercel-sandbox-resume.ts:17
  const token = process.env.VERCEL_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 test-only Excluded from app score #b0ed04e68a9da6e3 Environment-variable access.
repo/examples/ai-functions/src/harness-agent/opencode/vercel-sandbox-resume.ts:18
  const teamId = process.env.VERCEL_TEAM_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 test-only Excluded from app score #7dc6092e77eb40ec Environment-variable access.
repo/examples/ai-functions/src/harness-agent/opencode/vercel-sandbox-resume.ts:19
  const projectId = process.env.VERCEL_PROJECT_ID;

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

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

low env_fs test-only Excluded from app score #ea472773c283846f Environment-variable access.
repo/examples/ai-functions/src/harness-agent/pi/vercel-sandbox-resume.ts:17
  const token = process.env.VERCEL_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 test-only Excluded from app score #63995c64f5c664fb Environment-variable access.
repo/examples/ai-functions/src/harness-agent/pi/vercel-sandbox-resume.ts:18
  const teamId = process.env.VERCEL_TEAM_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 test-only Excluded from app score #90f934fc08bbdf41 Environment-variable access.
repo/examples/ai-functions/src/harness-agent/pi/vercel-sandbox-resume.ts:19
  const projectId = process.env.VERCEL_PROJECT_ID;

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

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

low env_fs test-only Excluded from app score #b5ae9fe8919b4517 Filesystem access.
repo/examples/ai-functions/src/lib/anthropic-local-fs-memory-tool.ts:2
import * as fsSync from 'fs';

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

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

low env_fs test-only Excluded from app score #272012f96a556b05 Filesystem access.
repo/examples/ai-functions/src/lib/anthropic-local-fs-memory-tool.ts:3
import * as fs from 'fs/promises';

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

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

low env_fs test-only Excluded from app score #748d514746d1b296 Filesystem access.
repo/examples/ai-functions/src/lib/anthropic-local-fs-memory-tool.ts:77
            const content = await fs.readFile(fullPath, 'utf-8');

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

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

low env_fs test-only Excluded from app score #484825ff350aeb1b Filesystem access.
repo/examples/ai-functions/src/lib/anthropic-local-fs-memory-tool.ts:111
          await fs.writeFile(fullPath, action.file_text, 'utf-8');

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

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

low env_fs test-only Excluded from app score #80025cb4334b2a06 Filesystem access.
repo/examples/ai-functions/src/lib/anthropic-local-fs-memory-tool.ts:127
          const content = await fs.readFile(fullPath, 'utf-8');

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

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

low env_fs test-only Excluded from app score #b7634d7020747ef6 Filesystem access.
repo/examples/ai-functions/src/lib/anthropic-local-fs-memory-tool.ts:139
          await fs.writeFile(fullPath, newContent, 'utf-8');

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

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

low env_fs test-only Excluded from app score #016138f384333b91 Filesystem access.
repo/examples/ai-functions/src/lib/anthropic-local-fs-memory-tool.ts:155
          const content = await fs.readFile(fullPath, 'utf-8');

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

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

low env_fs test-only Excluded from app score #16a4824f667cbe98 Filesystem access.
repo/examples/ai-functions/src/lib/anthropic-local-fs-memory-tool.ts:169
          await fs.writeFile(fullPath, lines.join('\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 #5c7030d707e9adfe Filesystem access.
repo/examples/ai-functions/src/lib/apply-patch-file-editor.ts:54
      await fs.writeFile(targetPath, content, 'utf8');

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

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

low env_fs test-only Excluded from app score #2a8a4b6f2e2fc02b Filesystem access.
repo/examples/ai-functions/src/lib/apply-patch-file-editor.ts:69
      const original = await fs
        .readFile(targetPath, 'utf8')

Reads environment variables or the filesystem — an inventory-level capability, 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 #da667552ba8c66e4 Filesystem access.
repo/examples/ai-functions/src/lib/apply-patch-file-editor.ts:78
      await fs.writeFile(targetPath, patched, 'utf8');

Reads environment variables or the filesystem — 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 #b1d93a4b64726499 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:11
  const response = await fetch(`https://api.openai.com/v1/skills/${skillId}`, {
    method: 'DELETE',
    headers: {
      Authorization: `Bearer ${process.env.OPENAI_API_KEY}`,
    },
  });

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 pii_flow test-only Excluded from app score #ca301b773d878f96 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:13 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:14 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:13
    headers: {
      Authorization: `Bearer ${process.env.OPENAI_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #9545564c444ab616 Environment-variable access.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:14
      Authorization: `Bearer ${process.env.OPENAI_API_KEY}`,

Reads environment variables or the filesystem — an inventory-level capability, 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 #0ea9376e34fd5bca Environment-variable access.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:37
    'x-api-key': process.env.ANTHROPIC_API_KEY ?? '',

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

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

low egress test-only Excluded from app score #411573351364815f Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:42
  const versionsResponse = await fetch(
    `https://api.anthropic.com/v1/skills/${skillId}/versions`,
    { 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 pii_flow test-only Excluded from app score #a087d7290167f8ed A credential read from the environment/filesystem flows to an external network call in a non-auth-header position (request body). Review what is sent. Destination is a known provider host — credential-to-issuer flow, not exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:42 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:37 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:42
  const versionsResponse = await fetch(
    `https://api.anthropic.com/v1/skills/${skillId}/versions`,
    { headers },
  );

User/PII-bearing data flows to an external sink — the classic data-exfiltration shape.

Fix: Confirm no user identifiers reach this sink; redact/hash before sending, or remove the flow.

low pii_flow test-only Excluded from app score #37db43e824d40949 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:44 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:37 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:44
    { headers },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low egress test-only Excluded from app score #3cf675a56ab78fe3 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:58
    const deleteVersionResponse = await fetch(
      `https://api.anthropic.com/v1/skills/${skillId}/versions/${version.version}`,
      {
        method: 'DELETE',
        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 pii_flow test-only Excluded from app score #c3d5578a5ca90229 A credential read from the environment/filesystem flows to an external network call in a non-auth-header position (request body). Review what is sent. Destination is a known provider host — credential-to-issuer flow, not exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:58 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:37 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:58
    const deleteVersionResponse = await fetch(
      `https://api.anthropic.com/v1/skills/${skillId}/versions/${version.version}`,
      {
        method: 'DELETE',
        headers,
      },
    );

User/PII-bearing data flows to an external sink — the classic data-exfiltration shape.

Fix: Confirm no user identifiers reach this sink; redact/hash before sending, or remove the flow.

low pii_flow test-only Excluded from app score #bcd84b6d9bc51f52 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:62 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:37 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:62
        headers,

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low egress test-only Excluded from app score #69de03bd4fe386eb Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:73
  const deleteSkillResponse = await fetch(
    `https://api.anthropic.com/v1/skills/${skillId}`,
    {
      method: 'DELETE',
      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 pii_flow test-only Excluded from app score #e6f71e9c4b165604 A credential read from the environment/filesystem flows to an external network call in a non-auth-header position (request body). Review what is sent. Destination is a known provider host — credential-to-issuer flow, not exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:73 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:37 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:73
  const deleteSkillResponse = await fetch(
    `https://api.anthropic.com/v1/skills/${skillId}`,
    {
      method: 'DELETE',
      headers,
    },
  );

User/PII-bearing data flows to an external sink — the classic data-exfiltration shape.

Fix: Confirm no user identifiers reach this sink; redact/hash before sending, or remove the flow.

low pii_flow test-only Excluded from app score #1cbea0f8eb7af3b8 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:77 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:37 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/delete-uploaded-skill.ts:77
      headers,

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #033ad6fa86891abe Filesystem access.
repo/examples/ai-functions/src/lib/download-azure-container-file.ts:2
import * as fs from 'fs';

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

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

low env_fs test-only Excluded from app score #097a9090f1f5c98c Environment-variable access.
repo/examples/ai-functions/src/lib/download-azure-container-file.ts:9
    const resourceName = process.env.AZURE_RESOURCE_NAME;

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

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

low env_fs test-only Excluded from app score #81a49b55cd43d3af Environment-variable access.
repo/examples/ai-functions/src/lib/download-azure-container-file.ts:10
    const apiKey = process.env.AZURE_API_KEY;

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

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

low egress test-only Excluded from app score #030907a011cb7ce1 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/lib/download-azure-container-file.ts:19
    const infoResponse = await fetch(infoUrl, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${apiKey}`,
      },
    });

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 pii_flow test-only Excluded from app score #b068c2bf8f26a08b A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/download-azure-container-file.ts:21 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-azure-container-file.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-azure-container-file.ts:21
      headers: {
        Authorization: `Bearer ${apiKey}`,
      },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low egress test-only Excluded from app score #8dbfabe8e82ed387 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/lib/download-azure-container-file.ts:45
    const downloadResponse = await fetch(downloadUrl, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${apiKey}`,
      },
    });

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 pii_flow test-only Excluded from app score #d94de4135b6d8366 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/download-azure-container-file.ts:47 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-azure-container-file.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-azure-container-file.ts:47
      headers: {
        Authorization: `Bearer ${apiKey}`,
      },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #8c05a5bb9180fba7 Filesystem access.
repo/examples/ai-functions/src/lib/download-azure-container-file.ts:64
    fs.writeFileSync(outputPath, buffer);

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

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

low pii_flow test-only Excluded from app score #8a2fe1fe3a6cf95c PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/download-azure-container-file.ts:66 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-azure-container-file.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-azure-container-file.ts:66
    console.log(`file saved: ${outputPath}`);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #7cc692d57c115593 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/download-azure-container-file.ts:67 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-azure-container-file.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-azure-container-file.ts:67
    console.log(`file size: ${buffer.length} bytes`);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #85e358436c47bcf6 Filesystem access.
repo/examples/ai-functions/src/lib/download-openai-container-file.ts:2
import * as fs from 'fs';

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

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

low env_fs test-only Excluded from app score #3d92603a66c86d00 Environment-variable access.
repo/examples/ai-functions/src/lib/download-openai-container-file.ts:9
    const apiKey = process.env.OPENAI_API_KEY;

Reads environment variables or the filesystem — 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 #4a0315400c4cc7f2 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/lib/download-openai-container-file.ts:16
    const infoResponse = await fetch(infoUrl, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${apiKey}`,
      },
    });

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 pii_flow test-only Excluded from app score #57a9e7cbb3571d7c A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/download-openai-container-file.ts:18 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-openai-container-file.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-openai-container-file.ts:18
      headers: {
        Authorization: `Bearer ${apiKey}`,
      },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low egress test-only Excluded from app score #ba4341420a39f9e2 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/lib/download-openai-container-file.ts:42
    const downloadResponse = await fetch(downloadUrl, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${apiKey}`,
      },
    });

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 pii_flow test-only Excluded from app score #01590e496d9b53a0 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/download-openai-container-file.ts:44 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-openai-container-file.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-openai-container-file.ts:44
      headers: {
        Authorization: `Bearer ${apiKey}`,
      },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #3cffc2cacbbbb7da Filesystem access.
repo/examples/ai-functions/src/lib/download-openai-container-file.ts:61
    fs.writeFileSync(outputPath, buffer);

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

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

low pii_flow test-only Excluded from app score #240438aed5101d98 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/download-openai-container-file.ts:63 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-openai-container-file.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-openai-container-file.ts:63
    console.log(`file saved: ${outputPath}`);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #9bce51f13563bd66 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/lib/download-openai-container-file.ts:64 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-openai-container-file.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/lib/download-openai-container-file.ts:64
    console.log(`file size: ${buffer.length} bytes`);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #0cb190a6a236c7d2 Environment-variable access.
repo/examples/ai-functions/src/lib/google-managed-agents.ts:13
  const key = apiKey ?? process.env.GOOGLE_GENERATIVE_AI_API_KEY;

Reads environment variables or the filesystem — 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 #33511be5d0d02306 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/lib/google-managed-agents.ts:44
  const response = await fetch(`${BASE_URL}/agents`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'x-goog-api-key': getApiKey(apiKey),
    },
    body: JSON.stringify(body),
  });

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 #239bc29e5dcf2556 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/lib/google-managed-agents.ts:70
  const response = await fetch(`${BASE_URL}/agents/${name}`, {
    method: 'DELETE',
    headers: {
      'x-goog-api-key': getApiKey(apiKey),
    },
  });

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 test-only Excluded from app score #6d22b7600ee33542 Filesystem access.
repo/examples/ai-functions/src/lib/present-image.ts:45
    await fs.promises.writeFile(filePath, srcBuffer);

Reads environment variables or the filesystem — an inventory-level capability, 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 #01f9a497f936e60f Filesystem access.
repo/examples/ai-functions/src/lib/present-video.ts:25
    await fs.promises.writeFile(filePath, videoData);

Reads environment variables or the filesystem — an inventory-level capability, 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 #ca88f67c785b1ba6 Filesystem access.
repo/examples/ai-functions/src/lib/record-fixture.ts:1
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #11099ff54fe9b30d Filesystem access.
repo/examples/ai-functions/src/lib/record-fixture.ts:54
      fs.writeFileSync(
        path.join(OUTPUT_DIR, `${name}.${i + 1}.chunks.txt`),
        chunks.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 test-only Excluded from app score #dee1be97fbd18c62 Filesystem access.
repo/examples/ai-functions/src/lib/record-fixture.ts:61
      fs.writeFileSync(
        path.join(OUTPUT_DIR, `${name}.${i + 1}.json`),
        JSON.stringify(step.response.body, null, 2),
      ),

Reads environment variables or the filesystem — an inventory-level capability, 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 #710e83f4d5a5e046 Filesystem access.
repo/examples/ai-functions/src/lib/save-audio.ts:28
  await fs.promises.writeFile(filePath, audio.uint8Array);

Reads environment variables or the filesystem — an inventory-level capability, 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 #f06b9a14ae2f8aa1 Filesystem access.
repo/examples/ai-functions/src/lib/save-raw-chunks.ts:2
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #c458f6130bd6998c Filesystem access.
repo/examples/ai-functions/src/lib/save-raw-chunks.ts:18
  fs.writeFileSync(
    `output/${filename}.chunks.txt`,
    rawChunks.map(chunk => JSON.stringify(chunk)).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 test-only Excluded from app score #7d00b2fcdccacc07 Environment-variable access.
repo/examples/ai-functions/src/registry/generate-speech-elevenlabs.ts:9
    voice: process.env.ELEVENLABS_VOICE_ID || 'your-voice-id-here',

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

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

low env_fs test-only Excluded from app score #5d89d8496fa50593 Filesystem access.
repo/examples/ai-functions/src/registry/transcribe-openai.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 #9afd48d3b53e70ac Filesystem access.
repo/examples/ai-functions/src/registry/transcribe-openai.ts:9
    audio: await readFile('../data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #2073d584de1b685c Filesystem access.
repo/examples/ai-functions/src/registry/upload-file-custom-provider.ts:16
    data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #f0652447b569994d Filesystem access.
repo/examples/ai-functions/src/registry/upload-file-registry.ts:21
    data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #5ec31f02c627cb93 Filesystem access.
repo/examples/ai-functions/src/registry/upload-skill-custom-provider.ts:3
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 test-only Excluded from app score #3b47b7485933e2f0 Filesystem access.
repo/examples/ai-functions/src/registry/upload-skill-custom-provider.ts:21
          data: readFileSync('data/island-rescue/SKILL.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 test-only Excluded from app score #7793e0ccfda56186 Filesystem access.
repo/examples/ai-functions/src/registry/upload-skill-registry.ts:2
import { readFileSync } from 'fs';

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

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

low env_fs test-only Excluded from app score #245a0e17ed20f872 Filesystem access.
repo/examples/ai-functions/src/registry/upload-skill-registry.ts:14
          data: readFileSync('data/island-rescue/SKILL.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 egress test-only Excluded from app score #1244ddb5b20c4fa6 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/reproduction/issue-16072-google-pdf-tool-result.ts:20
      const response = await fetch(input, init);

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 #3efdc8f6319db0af Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/reproduction/issue-17040-google-interactions-text-reference.ts:20
      const response = await fetch(input, init);

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 test-only Excluded from app score #c1a013b3f256b19a Environment-variable access.
repo/examples/ai-functions/src/reproduction/issue-17156-empty-base-url.ts:94
  const originalOpenAIBaseURL = process.env.OPENAI_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 test-only Excluded from app score #9ac825deafb99aac Environment-variable access.
repo/examples/ai-functions/src/reproduction/issue-17156-empty-base-url.ts:98
    process.env.OPENAI_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 test-only Excluded from app score #525fb06f39ab5f7d Environment-variable access.
repo/examples/ai-functions/src/reproduction/issue-17156-empty-base-url.ts:108
      delete process.env.OPENAI_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 test-only Excluded from app score #e783497bf90b887c Environment-variable access.
repo/examples/ai-functions/src/reproduction/issue-17156-empty-base-url.ts:110
      process.env.OPENAI_BASE_URL = originalOpenAIBaseURL;

Reads environment variables or the filesystem — an inventory-level capability, 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 #b6138dfe4c2dedf5 Filesystem access.
repo/examples/ai-functions/src/sandbox/just-bash-sandbox.ts:114
    await this.sandbox.bashEnvInstance.fs.writeFile(
      this.resolvePath(path),
      bytes,
    );

Reads environment variables or the filesystem — an inventory-level capability, 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 #acfc7ded5043a694 Filesystem access.
repo/examples/ai-functions/src/sandbox/just-bash-sandbox.ts:127
    const stream = await this.readFile({ path, abortSignal });

Reads environment variables or the filesystem — an inventory-level capability, 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 #8da8b0727e6539de Filesystem access.
repo/examples/ai-functions/src/sandbox/just-bash-sandbox.ts:141
    await this.writeFile({
      path,
      content: bytesToStream(content),
      abortSignal,
    });

Reads environment variables or the filesystem — an inventory-level capability, 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 #6f22ac55dc1192ee Filesystem access.
repo/examples/ai-functions/src/sandbox/local-sandbox.ts:185
    const stream = await this.readFile({ path, abortSignal });

Reads environment variables or the filesystem — an inventory-level capability, 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 #3f54e60b5b719785 Filesystem access.
repo/examples/ai-functions/src/sandbox/local-sandbox.ts:199
    await this.writeFile({
      path,
      content: bytesToStream(content),
      abortSignal,
    });

Reads environment variables or the filesystem — an inventory-level capability, 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 #a3e4c4f004d79251 Filesystem access.
repo/examples/ai-functions/src/sandbox/vercel-sandbox.ts:87
    const result = await this.sandbox.readFile({
      path: this.resolvePath(path),
    });

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

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

low env_fs test-only Excluded from app score #65fe26d84ca68d63 Filesystem access.
repo/examples/ai-functions/src/sandbox/vercel-sandbox.ts:120
    const stream = await this.readFile({ path, abortSignal });

Reads environment variables or the filesystem — an inventory-level capability, 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 #0d242cb6c355c474 Filesystem access.
repo/examples/ai-functions/src/sandbox/vercel-sandbox.ts:134
    await this.writeFile({
      path,
      content: bytesToStream(content),
      abortSignal,
    });

Reads environment variables or the filesystem — an inventory-level capability, 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 #d03a173ea0ee0613 Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/anthropic-computer-use-computer.ts:3
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #590ff5b45b302719 Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/anthropic-computer-use-computer.ts:21
              data: fs
                .readFileSync('./data/screenshot-editor.png')

Reads environment variables or the filesystem — an inventory-level capability, 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 #7185c65875fdaad3 Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/anthropic-image.ts:4
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #44352937e80bc173 Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/anthropic-image.ts:21
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #172c2e45d36b1f23 Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/anthropic-pdf.ts:4
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #4d3d9d5a0c09b29a Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/anthropic-pdf.ts:20
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #50d017cd1b9be40e Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/cache-point-assistant.ts:6
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #130694e21f356089 Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/cache-point-image.ts:18
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #b6d40f1ed46b6e18 Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/cache-point-system.ts:6
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #efdd00e57ce18fb0 Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/cache-point-ttl.ts:6
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #5c6dc44dcabeb83c Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/cache-point-user.ts:6
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #ba20d874cf6e620b Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/image.ts:18
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #163e89ee28d60fc4 Filesystem access.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/pdf.ts:16
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — 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 #869e876f5368bcff Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/stream-text/amazon-bedrock/reasoning-chatbot.ts:15
    return await fetch(url, 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 test-only Excluded from app score #b22fd91bbbc3175d Filesystem access.
repo/examples/ai-functions/src/stream-text/anthropic/cache-control.ts:9
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #6ee61e527726053e Filesystem access.
repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:4
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 #c244cca4f9c63929 Environment-variable access.
repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:63
    const apiKey = process.env.ANTHROPIC_API_KEY;

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

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

low egress test-only Excluded from app score #9073b5883d02a5e4 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:69
    const infoPromise = fetch(infoUrl, {
      method: 'GET',
      headers: {
        'x-api-key': apiKey,
        'anthropic-version': '2023-06-01',
        'anthropic-beta': 'files-api-2025-04-14',
      },
    });

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 pii_flow test-only Excluded from app score #05c771ef2d66002d A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:71 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:63 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:71
      headers: {
        'x-api-key': apiKey,
        'anthropic-version': '2023-06-01',
        'anthropic-beta': 'files-api-2025-04-14',
      },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low egress test-only Excluded from app score #3bb8ff0f56558c9c Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:79
    const downloadPromise = fetch(downloadUrl, {
      method: 'GET',
      headers: {
        'x-api-key': apiKey,
        'anthropic-version': '2023-06-01',
        'anthropic-beta': 'files-api-2025-04-14',
      },
    });

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 pii_flow test-only Excluded from app score #a8f1f4f0094564c6 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:81 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:63 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:81
      headers: {
        'x-api-key': apiKey,
        'anthropic-version': '2023-06-01',
        'anthropic-beta': 'files-api-2025-04-14',
      },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #f73d8c15be705bd5 Filesystem access.
repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:123
    fs.writeFileSync(outputPath, buffer);

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

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

low pii_flow test-only Excluded from app score #7ff69318da740d7b PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:125 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:63 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:125
    console.log(`file saved: ${outputPath}`);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #d0e771c8f666c9f9 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:126 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:63 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/anthropic/code-execution-20250825-downloads.ts:126
    console.log(`file size: ${buffer.length} bytes`);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #659ed60518acbe3d Filesystem access.
repo/examples/ai-functions/src/stream-text/anthropic/code-execution-file-upload.ts:4
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 #bd24f2b121bbce18 Filesystem access.
repo/examples/ai-functions/src/stream-text/anthropic/code-execution-file-upload.ts:10
    data: fs.readFileSync('./data/sample.csv'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #5dd03b0074d39058 Filesystem access.
repo/examples/ai-functions/src/stream-text/anthropic/compaction.ts:6
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 test-only Excluded from app score #acb1681deef64ac6 Filesystem access.
repo/examples/ai-functions/src/stream-text/anthropic/compaction.ts:13
const documentCorpus = readFileSync(
  join(__dirname, '../../data/compaction-data.txt'),
  'utf-8',
);

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

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

low env_fs test-only Excluded from app score #03a69c46b27f466d Filesystem access.
repo/examples/ai-functions/src/stream-text/anthropic/computer-use-zoom.ts:23
                data: fs
                  .readFileSync('./data/screenshot-editor.png')

Reads environment variables or the filesystem — an inventory-level capability, 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 #8f1758db819456ca Filesystem access.
repo/examples/ai-functions/src/stream-text/anthropic/computer-use-zoom.ts:33
                data: fs
                  .readFileSync('./data/screenshot-editor.png')

Reads environment variables or the filesystem — an inventory-level capability, 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 #29e7dad2044fbcb0 Filesystem access.
repo/examples/ai-functions/src/stream-text/anthropic/image.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #1a9f34609187b9a7 Environment-variable access.
repo/examples/ai-functions/src/stream-text/anthropic/microsoft.ts:6
  const resourceName = process.env.ANTHROPIC_MICROSOFT_RESOURCE_NAME;

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

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

low env_fs test-only Excluded from app score #0e6158f4d01fc7aa Environment-variable access.
repo/examples/ai-functions/src/stream-text/anthropic/microsoft.ts:7
  const apiKey = process.env.ANTHROPIC_MICROSOFT_API_KEY;

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

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

low pii_flow test-only Excluded from app score #050f8469e7ce3105 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/anthropic/microsoft.ts:27 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/anthropic/microsoft.ts:7 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/anthropic/microsoft.ts:27
  console.log('Token usage:', await result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #d74a2e83ee0a6e3e PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/anthropic/microsoft.ts:28 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/anthropic/microsoft.ts:7 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/anthropic/microsoft.ts:28
  console.log('Finish reason:', await result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #95a6de962722890c Filesystem access.
repo/examples/ai-functions/src/stream-text/anthropic/pdf-sources.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #e50425171e6f0a73 Filesystem access.
repo/examples/ai-functions/src/stream-text/anthropic/pdf.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — 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 #6ad29d6022a162fd Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/stream-text/anthropic/reasoning-chatbot.ts:15
    return await fetch(url, 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 test-only Excluded from app score #7bdfe1ebcfe08b28 Environment-variable access.
repo/examples/ai-functions/src/stream-text/azure/deepseek-reasoning.ts:6
  baseURL: process.env.AZURE_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 test-only Excluded from app score #d4dccd6bf499a29e Filesystem access.
repo/examples/ai-functions/src/stream-text/azure/responses-pdf.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

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

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

low pii_flow test-only Excluded from app score #72ad72df08c9e664 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/baseten/basic.ts:11 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/baseten/basic.ts:12 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/baseten/basic.ts:11
  headers: {
    Authorization: `Bearer ${process.env.BASETEN_API_KEY ?? ''}`,
  },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #0fdd47d32af51a3a Environment-variable access.
repo/examples/ai-functions/src/stream-text/baseten/basic.ts:12
    Authorization: `Bearer ${process.env.BASETEN_API_KEY ?? ''}`,

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

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

low pii_flow test-only Excluded from app score #dcfff02420429179 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/baseten/basic.ts:27 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/baseten/basic.ts:12 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/baseten/basic.ts:27
  console.log('Token usage:', await result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #11eedc14dc4a22b7 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/baseten/basic.ts:28 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/baseten/basic.ts:12 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/baseten/basic.ts:28
  console.log('Finish reason:', await result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #7ee9548e5b132ff9 Environment-variable access.
repo/examples/ai-functions/src/stream-text/baseten/reasoning.ts:9
    apiKey: process.env.BASETEN_API_KEY,

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

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

low pii_flow test-only Excluded from app score #4f7339ae405d69cb PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/baseten/reasoning.ts:25 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/baseten/reasoning.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/baseten/reasoning.ts:25
  console.log('Token usage:', await result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #b0e10b6bee1d3ce1 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/baseten/reasoning.ts:26 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/baseten/reasoning.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/baseten/reasoning.ts:26
  console.log('Finish reason:', await result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #c6bcf095f4d44bca Filesystem access.
repo/examples/ai-functions/src/stream-text/cohere/image.ts:17
            data: fs.readFileSync('./data/comic-cat.png').toString('base64'),

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

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

low env_fs test-only Excluded from app score #ea1561edca1b6a90 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:11
  const token = process.env.VERCEL_OIDC_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 test-only Excluded from app score #22cf1f4336fe0b02 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:19
  const key = process.env.AI_GATEWAY_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #2785f9a8c00b3fbb Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:32
      delete process.env.VERCEL_OIDC_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 test-only Excluded from app score #60d6613302e04620 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:33
      delete process.env.AI_GATEWAY_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #d46e6be6a30db83b Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:40
      process.env.VERCEL_OIDC_TOKEN = VALID_OIDC_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 test-only Excluded from app score #b0ff6e94c8b959e6 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:41
      process.env.AI_GATEWAY_API_KEY = INVALID_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #53c6ab9f356722e7 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:48
      process.env.VERCEL_OIDC_TOKEN = INVALID_OIDC_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 test-only Excluded from app score #6e1c188afe004cbb Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:49
      process.env.AI_GATEWAY_API_KEY = VALID_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #4b1aeeddddc4de34 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:57
      delete process.env.VERCEL_OIDC_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 test-only Excluded from app score #3e7bad6186a4cf66 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:58
      process.env.AI_GATEWAY_API_KEY = INVALID_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #ced30f0680dad939 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:65
      delete process.env.VERCEL_OIDC_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 test-only Excluded from app score #9779ad3c08f54e7d Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:66
      process.env.AI_GATEWAY_API_KEY = VALID_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #fe4cec22d5ec73b8 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:74
      process.env.VERCEL_OIDC_TOKEN = VALID_OIDC_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 test-only Excluded from app score #c4a9a31124fdcda8 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:75
      process.env.AI_GATEWAY_API_KEY = VALID_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #6dc345a6d8090c39 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:83
      process.env.VERCEL_OIDC_TOKEN = VALID_OIDC_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 test-only Excluded from app score #aca3f9ac5adce03c Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:84
      delete process.env.AI_GATEWAY_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #348e5d5107709530 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:92
      process.env.VERCEL_OIDC_TOKEN = INVALID_OIDC_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 test-only Excluded from app score #3cd8c467049be1a8 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:93
      delete process.env.AI_GATEWAY_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #d92112712f1379ec Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:100
      process.env.VERCEL_OIDC_TOKEN = INVALID_OIDC_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 test-only Excluded from app score #21241a3bf8a8cbe5 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:101
      process.env.AI_GATEWAY_API_KEY = INVALID_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #664f036369307ef1 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/auth.ts:146
        const hasApiKey = !!process.env.AI_GATEWAY_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #729997dc47ade730 Environment-variable access.
repo/examples/ai-functions/src/stream-text/gateway/google-gemini-tool-call.ts:175
  if (!process.env.GOOGLE_VERTEX_API_KEY) {

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

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

low env_fs test-only Excluded from app score #04de2fdf22ed184b Filesystem access.
repo/examples/ai-functions/src/stream-text/gateway/pdf.ts:18
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #92c2e6896bf1fad9 Filesystem access.
repo/examples/ai-functions/src/stream-text/google/caching.ts:6
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #dba4be880177851f Filesystem access.
repo/examples/ai-functions/src/stream-text/google/image-tool-result-base64.ts:15
        const imageData = await fs.readFile(imagePath);

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

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

low env_fs test-only Excluded from app score #a1b5bfe6a6e89d0c Filesystem access.
repo/examples/ai-functions/src/stream-text/google/image-tool-result-data-url.ts:15
        const imageData = await fs.readFile(imagePath);

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

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

low env_fs test-only Excluded from app score #8cdabac2d7a794d5 Filesystem access.
repo/examples/ai-functions/src/stream-text/google/image-tool-result-old.ts:4
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 #88434323940c193e Filesystem access.
repo/examples/ai-functions/src/stream-text/google/image-tool-result-old.ts:9
  const fileBuffer = await fs.promises.readFile(filePath);

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

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

low env_fs test-only Excluded from app score #a46938bc2e98ba45 Environment-variable access.
repo/examples/ai-functions/src/stream-text/google/interactions-agent-abort.ts:19
  const apiKey = process.env.GOOGLE_GENERATIVE_AI_API_KEY;

Reads environment variables or the filesystem — 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 #bd69f7a1ac222442 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/stream-text/google/interactions-agent-abort.ts:28
    const response = await fetch(input, init);

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 #09cb1fbd2c59dc79 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/stream-text/google/interactions-agent-abort.ts:105
  const verify = await fetch(`${baseURL}/interactions/${interactionId}`, {
    headers: { 'x-goog-api-key': apiKey },
  });

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 pii_flow test-only Excluded from app score #487b43a577bc1a11 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/google/interactions-agent-abort.ts:106 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/google/interactions-agent-abort.ts:19 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/google/interactions-agent-abort.ts:106
    headers: { 'x-goog-api-key': apiKey },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low pii_flow test-only Excluded from app score #5d9ff890c8bb6255 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/google/interactions-agent-abort.ts:109 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/google/interactions-agent-abort.ts:19 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/google/interactions-agent-abort.ts:109
  console.log('Server-reported status:', body.status);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #b58537653e725e84 Filesystem access.
repo/examples/ai-functions/src/stream-text/google/interactions-image-base64.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #c7efea91a53fdf64 Filesystem access.
repo/examples/ai-functions/src/stream-text/google/interactions-image-reference.ts:9
    data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #8dc04495d1775afa Filesystem access.
repo/examples/ai-functions/src/stream-text/google/interactions-pdf.ts:20
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #29c3542ff3b3d8c6 Filesystem access.
repo/examples/ai-functions/src/stream-text/google/multiturn-tool-error.ts:4
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 #4764af9ef6174666 Filesystem access.
repo/examples/ai-functions/src/stream-text/google/multiturn-tool-error.ts:26
          const data = await readFile(
            `/nonexistent/user-${userId}.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 #9e55eb0b7a029c67 Filesystem access.
repo/examples/ai-functions/src/stream-text/google/output-object-caching.ts:7
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #4d4d38ebf626118d Filesystem access.
repo/examples/ai-functions/src/stream-text/google/vertex-anthropic-cache-control.ts:7
const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #2ded2a5b2099c31f Filesystem access.
repo/examples/ai-functions/src/stream-text/google/vertex-anthropic-image.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #8f01c869d8c07d4e Filesystem access.
repo/examples/ai-functions/src/stream-text/google/vertex-anthropic-pdf.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #985fa4c4b0c5cfaa Environment-variable access.
repo/examples/ai-functions/src/stream-text/google/vertex-express.ts:7
    apiKey: process.env.GOOGLE_VERTEX_API_KEY,

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

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

low pii_flow test-only Excluded from app score #61bcd477c94d9a76 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/google/vertex-express.ts:20 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/google/vertex-express.ts:7 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/google/vertex-express.ts:20
  console.log('Token usage:', await result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #9dd5a69684975d31 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/google/vertex-express.ts:21 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/google/vertex-express.ts:7 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/google/vertex-express.ts:21
  console.log('Finish reason:', await result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #194bbe79b23db50e Filesystem access.
repo/examples/ai-functions/src/stream-text/moonshot/cache.ts:7
  const errorMessage = fs.readFileSync('data/error-message.txt', 'utf8');

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

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

low pii_flow test-only Excluded from app score #c02017aab65774eb A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/nim/basic.ts:9 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/nim/basic.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/nim/basic.ts:9
    headers: {
      Authorization: `Bearer ${process.env.NIM_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #d3856e8dab227355 Environment-variable access.
repo/examples/ai-functions/src/stream-text/nim/basic.ts:10
      Authorization: `Bearer ${process.env.NIM_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #4f21114d4e8357cc PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/nim/basic.ts:24 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/nim/basic.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/nim/basic.ts:24
  console.log('Token usage:', await result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #0cc1d8a8b06e8135 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/nim/basic.ts:25 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/nim/basic.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/nim/basic.ts:25
  console.log('Finish reason:', await result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #3a94ffee23fb49fe A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/nim/output-object.ts:10 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/nim/output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/nim/output-object.ts:10
    headers: {
      Authorization: `Bearer ${process.env.NIM_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #34ba40b76f849de7 Environment-variable access.
repo/examples/ai-functions/src/stream-text/nim/output-object.ts:11
      Authorization: `Bearer ${process.env.NIM_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #fcd7c96acbcede1e PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/nim/output-object.ts:36 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/nim/output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/nim/output-object.ts:36
    console.log(partialOutput);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #11c7f7bff3676083 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/nim/output-object.ts:40 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/nim/output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/nim/output-object.ts:40
  console.log('Token usage:', await result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #945ec41056dfd0ff Environment-variable access.
repo/examples/ai-functions/src/stream-text/open-responses/openai-pdf-file-input.ts:9
  apiKey: process.env.OPENAI_API_KEY,

Reads environment variables or the filesystem — 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 #e684c8e5ce92e200 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/stream-text/open-responses/openai-pdf-file-input.ts:25
            data: new URL(
              'https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf',
            ),

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 pii_flow test-only Excluded from app score #fca4169e92b18625 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/open-responses/openai-pdf-file-input.ts:41 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/open-responses/openai-pdf-file-input.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/open-responses/openai-pdf-file-input.ts:41
  console.log('Text:', await result.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #a243d7b90acf3961 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/open-responses/openai-pdf-file-input.ts:42 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/open-responses/openai-pdf-file-input.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/open-responses/openai-pdf-file-input.ts:42
  console.log('Usage:', await result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #18fa9d61eb4b6b14 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/open-responses/openai-pdf-file-input.ts:43 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/open-responses/openai-pdf-file-input.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/open-responses/openai-pdf-file-input.ts:43
  console.log('Finish reason:', await result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #99fea581819af050 Filesystem access.
repo/examples/ai-functions/src/stream-text/openai/audio.ts:17
            data: fs.readFileSync('./data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #0d16eedfc19566d7 Filesystem access.
repo/examples/ai-functions/src/stream-text/openai/compaction.ts:3
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 test-only Excluded from app score #2a0856179d2f80cb Filesystem access.
repo/examples/ai-functions/src/stream-text/openai/compaction.ts:10
const documentCorpus = readFileSync(
  join(__dirname, '../../../data/compaction-data.txt'),
  'utf-8',
);

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

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

low env_fs test-only Excluded from app score #db2b7b5f72fc0be7 Environment-variable access.
repo/examples/ai-functions/src/stream-text/openai/compatible-abort-reason.ts:9
    apiKey: process.env.DEEPSEEK_API_KEY ?? 'YOUR_API_KEY',

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

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

low pii_flow test-only Excluded from app score #6a17537c38f71619 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-abort-reason.ts:37 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-abort-reason.ts:9 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-abort-reason.ts:37
        console.log('Abort reason:', reason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #54d22fd8726ce473 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-deepseek.ts:9 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-deepseek.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-deepseek.ts:9
    headers: {
      Authorization: `Bearer ${process.env.DEEPSEEK_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #0e0eea36d7b3c531 Environment-variable access.
repo/examples/ai-functions/src/stream-text/openai/compatible-deepseek.ts:10
      Authorization: `Bearer ${process.env.DEEPSEEK_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #ed260a94b3089e98 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-deepseek.ts:26 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-deepseek.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-deepseek.ts:26
  console.log('Token usage:', await result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #35b46ce89ce504b7 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-deepseek.ts:27 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-deepseek.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-deepseek.ts:27
  console.log('Finish reason:', await result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #a737ed8692d9f318 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-google-thought-signatures.ts:10 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-google-thought-signatures.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-google-thought-signatures.ts:10
    headers: {
      Authorization: `Bearer ${process.env.GOOGLE_GENERATIVE_AI_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #79474941efeef5bf Environment-variable access.
repo/examples/ai-functions/src/stream-text/openai/compatible-google-thought-signatures.ts:11
      Authorization: `Bearer ${process.env.GOOGLE_GENERATIVE_AI_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #028d2a7043fbafef PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-google-thought-signatures.ts:89 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-google-thought-signatures.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-google-thought-signatures.ts:89
      console.log(`\n  [Stream] Tool call: ${chunk.toolName}`);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #a571fab19426412f A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:9 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:9
    headers: {
      Authorization: `Bearer ${process.env.OPENAI_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #4e81c544adbd6fe2 Environment-variable access.
repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:10
      Authorization: `Bearer ${process.env.OPENAI_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #72a59a2922be6c29 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:27 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:27
    console.log('Chunk type:', chunk.type, 'Chunk:', JSON.stringify(chunk));

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #d070065ad42ac3c3 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:31 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:31
      console.log('Text chunk', textChunkCount, ':', chunk.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #daf5180265c670ee PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:34 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:34
      console.log(
        'Raw chunk',
        rawChunkCount,
        ':',
        JSON.stringify(chunk.rawValue),
      );

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #fd64440228911a14 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:42 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:42
      console.log('Other chunk', otherChunkCount, ':', chunk.type);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #9c4b7e41643b5802 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:50 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-raw-chunks.ts:50
  console.log('Final text:', await result.text);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #7045452cb09f833c A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-output-object.ts:10 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-output-object.ts:10
    headers: {
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #7ddc2c580a3f2c1f Environment-variable access.
repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-output-object.ts:11
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #1b146bb723cfbb09 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-output-object.ts:36 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-output-object.ts:36
    console.log(partialOutput);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #8b4ae9d7fea275bb PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-output-object.ts:40 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-output-object.ts:11 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-output-object.ts:40
  console.log('Token usage:', await result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #c1715c8ef6cbfcf9 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-tool-call.ts:19 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-tool-call.ts:20 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-tool-call.ts:19
    headers: {
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #18dd36c3ff096c28 Environment-variable access.
repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai-tool-call.ts:20
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #486a1cf3871622cc A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai.ts:9 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai.ts:9
    headers: {
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #f1fd04ad87c29b34 Environment-variable access.
repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai.ts:10
      Authorization: `Bearer ${process.env.TOGETHER_API_KEY}`,

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

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

low pii_flow test-only Excluded from app score #a34c851fabcc41db PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai.ts:28 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai.ts:28
  console.log('Token usage:', await result.usage);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #32896f5d55ecafd4 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai.ts:29 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai.ts:10 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/openai/compatible-togetherai.ts:29
  console.log('Finish reason:', await result.finishReason);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low egress test-only Excluded from app score #684715fbb5242f84 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/ai-functions/src/stream-text/openai/custom-fetch-inject-error.ts:8
    const result = await fetch(url, 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 test-only Excluded from app score #1b92a190aeb2b53b Filesystem access.
repo/examples/ai-functions/src/stream-text/openai/responses-apply-patch.ts:55
    const content = await fs.readFile(filePath, 'utf8');

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

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

low env_fs test-only Excluded from app score #445fbbee8c900834 Filesystem access.
repo/examples/ai-functions/src/stream-text/openai/responses-shell-container-skills.ts:3
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 test-only Excluded from app score #733853e947785dc1 Filesystem access.
repo/examples/ai-functions/src/stream-text/openai/responses-shell-container-skills.ts:7
const skillZip = readFileSync('data/island-rescue-skill.zip').toString(

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

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

low env_fs test-only Excluded from app score #29d8c263d6038a45 Filesystem access.
repo/examples/ai-functions/src/stream-text/perplexity/pdf.ts:3
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #19087df119403dc5 Filesystem access.
repo/examples/ai-functions/src/stream-text/perplexity/pdf.ts:19
            data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #a66264113a9ea4ba Filesystem access.
repo/examples/ai-functions/src/stream-text/vercel/image.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #b73fe459a7c9885a Filesystem access.
repo/examples/ai-functions/src/stream-text/xai/image.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #7f277da7b7ea9eb0 Environment-variable access.
repo/examples/ai-functions/src/stream-text/xai/openai-compat-file-search.ts:8
    apiKey: process.env.XAI_API_KEY,

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

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

low pii_flow test-only Excluded from app score #7e9bfcf5d643d7f5 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/xai/openai-compat-file-search.ts:29 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/xai/openai-compat-file-search.ts:8 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/xai/openai-compat-file-search.ts:29
        console.log(`\nTool call: ${JSON.stringify(chunk, null, 2)}`);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low pii_flow test-only Excluded from app score #49cfb623d5f17aa1 PII-bearing data is written to a log sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/examples/ai-functions/src/stream-text/xai/openai-compat-file-search.ts:33 · flow /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/xai/openai-compat-file-search.ts:8 → /tmp/closeopen-sl219vn4/repo/examples/ai-functions/src/stream-text/xai/openai-compat-file-search.ts:33
        console.log(`\nTool result: ${JSON.stringify(chunk, null, 2)}`);

PII-bearing data is written to a log/print sink — it stays in-process and does not leave the application, but logged PII is still a privacy concern.

Fix: Avoid logging user identifiers; redact or omit PII from log/print statements.

low env_fs test-only Excluded from app score #09c6b273d2147755 Filesystem access.
repo/examples/ai-functions/src/stream-text/xai/responses-image.ts:17
            data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #8944956690439f06 Filesystem access.
repo/examples/ai-functions/src/transcribe/assemblyai/basic.ts:3
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 #7b3e03b1652bf852 Filesystem access.
repo/examples/ai-functions/src/transcribe/assemblyai/basic.ts:9
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #dc5944c32355e50c Filesystem access.
repo/examples/ai-functions/src/transcribe/assemblyai/string.ts:3
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 #c39c4f9d7733b0a1 Filesystem access.
repo/examples/ai-functions/src/transcribe/assemblyai/string.ts:9
    audio: Buffer.from(await readFile('./data/galileo.mp3')).toString('base64'),

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

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

low egress test-only Excluded from app score #9f9b73be003391a5 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/transcribe/assemblyai/url.ts:8
    audio: new URL(
      'https://github.com/vercel/ai/raw/refs/heads/main/examples/ai-functions/data/galileo.mp3',
    ),

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 test-only Excluded from app score #2e83588eae508ea6 Filesystem access.
repo/examples/ai-functions/src/transcribe/azure/basic.ts:3
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 #d227f8433728ba87 Filesystem access.
repo/examples/ai-functions/src/transcribe/azure/basic.ts:19
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #5221f9d2c010bf49 Filesystem access.
repo/examples/ai-functions/src/transcribe/azure/deployment-based.ts:3
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 #b31b896ed7a7f188 Filesystem access.
repo/examples/ai-functions/src/transcribe/azure/deployment-based.ts:14
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #8581ff92390bad08 Filesystem access.
repo/examples/ai-functions/src/transcribe/azure/string.ts:3
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 #f1c926f74352d7fd Filesystem access.
repo/examples/ai-functions/src/transcribe/azure/string.ts:13
    audio: Buffer.from(await readFile('./data/galileo.mp3')).toString('base64'),

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

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

low egress test-only Excluded from app score #e042f7587d22d6bf Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/transcribe/azure/url.ts:12
    audio: new URL(
      'https://github.com/vercel/ai/raw/refs/heads/main/examples/ai-functions/data/galileo.mp3',
    ),

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 test-only Excluded from app score #bea2f1fcc9629278 Filesystem access.
repo/examples/ai-functions/src/transcribe/cartesia/basic.ts:3
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 #b6427529cdd79631 Filesystem access.
repo/examples/ai-functions/src/transcribe/cartesia/basic.ts:9
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #d48efc9a592efd2f Filesystem access.
repo/examples/ai-functions/src/transcribe/deepgram/basic.ts:3
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 #13e2600df569a02f Filesystem access.
repo/examples/ai-functions/src/transcribe/deepgram/basic.ts:9
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #19bffbab5cea072d Filesystem access.
repo/examples/ai-functions/src/transcribe/deepgram/string.ts:3
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 #bf2ba5906a998f7b Filesystem access.
repo/examples/ai-functions/src/transcribe/deepgram/string.ts:9
    audio: Buffer.from(await readFile('./data/galileo.mp3')).toString('base64'),

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

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

low egress test-only Excluded from app score #a5562d6de3cdbfd2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/transcribe/deepgram/url.ts:8
    audio: new URL(
      'https://github.com/vercel/ai/raw/refs/heads/main/examples/ai-functions/data/galileo.mp3',
    ),

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 test-only Excluded from app score #4e99dcfc84950fda Filesystem access.
repo/examples/ai-functions/src/transcribe/elevenlabs/basic.ts:3
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 #67196bc11086e7e1 Filesystem access.
repo/examples/ai-functions/src/transcribe/elevenlabs/basic.ts:9
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #e14712434bd1231c Filesystem access.
repo/examples/ai-functions/src/transcribe/elevenlabs/string.ts:3
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 #70665af80d2ca209 Filesystem access.
repo/examples/ai-functions/src/transcribe/elevenlabs/string.ts:9
    audio: Buffer.from(await readFile('./data/galileo.mp3')).toString('base64'),

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

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

low egress test-only Excluded from app score #0b3cad65844e0584 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/transcribe/elevenlabs/url.ts:8
    audio: new URL(
      'https://github.com/vercel/ai/raw/refs/heads/main/examples/ai-functions/data/galileo.mp3',
    ),

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 test-only Excluded from app score #6b82bba44d482201 Filesystem access.
repo/examples/ai-functions/src/transcribe/fal/basic.ts:3
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 #c3a21bef36d7a93f Filesystem access.
repo/examples/ai-functions/src/transcribe/fal/basic.ts:9
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #b1ae3c38221dce9d Filesystem access.
repo/examples/ai-functions/src/transcribe/fal/string.ts:3
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 #b15605a93f3a9c5b Filesystem access.
repo/examples/ai-functions/src/transcribe/fal/string.ts:9
    audio: Buffer.from(await readFile('./data/galileo.mp3')).toString('base64'),

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

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

low egress test-only Excluded from app score #365d1075c0015341 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/transcribe/fal/url.ts:8
    audio: new URL(
      'https://github.com/vercel/ai/raw/refs/heads/main/examples/ai-functions/data/galileo.mp3',
    ),

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 test-only Excluded from app score #09c829b847396e1d Filesystem access.
repo/examples/ai-functions/src/transcribe/gladia/basic.ts:3
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 #96a1a898f7011847 Filesystem access.
repo/examples/ai-functions/src/transcribe/gladia/basic.ts:9
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #4e40fab445d0905c Filesystem access.
repo/examples/ai-functions/src/transcribe/gladia/string.ts:3
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 #c2616bb9a9eb8136 Filesystem access.
repo/examples/ai-functions/src/transcribe/gladia/string.ts:9
    audio: Buffer.from(await readFile('./data/galileo.mp3')).toString('base64'),

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

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

low egress test-only Excluded from app score #9a9acc0c546389c8 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/transcribe/gladia/url.ts:8
    audio: new URL(
      'https://github.com/vercel/ai/raw/refs/heads/main/examples/ai-functions/data/galileo.mp3',
    ),

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 test-only Excluded from app score #196577514e176582 Filesystem access.
repo/examples/ai-functions/src/transcribe/google-vertex/basic.ts:3
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 #22bd15c3d12da877 Filesystem access.
repo/examples/ai-functions/src/transcribe/google-vertex/basic.ts:11
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #e30b7a700dbc0993 Filesystem access.
repo/examples/ai-functions/src/transcribe/google-vertex/telephony.ts:6
import { readFile } from 'fs/promises';

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

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

low env_fs test-only Excluded from app score #9f342105978d6dda Filesystem access.
repo/examples/ai-functions/src/transcribe/google-vertex/telephony.ts:12
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #b6650b1497091b93 Filesystem access.
repo/examples/ai-functions/src/transcribe/groq/basic.ts:3
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 #df4aef49151ae3b8 Filesystem access.
repo/examples/ai-functions/src/transcribe/groq/basic.ts:9
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #fd29f72c3b72ed9b Filesystem access.
repo/examples/ai-functions/src/transcribe/groq/string.ts:3
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 #2e06553c58c0814a Filesystem access.
repo/examples/ai-functions/src/transcribe/groq/string.ts:9
    audio: Buffer.from(await readFile('./data/galileo.mp3')).toString('base64'),

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

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

low env_fs test-only Excluded from app score #d9f6b661d288ffeb Filesystem access.
repo/examples/ai-functions/src/transcribe/groq/timestamp.ts:4
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 #05d50f049d6d77af Filesystem access.
repo/examples/ai-functions/src/transcribe/groq/timestamp.ts:10
    audio: await readFile(path.join(__dirname, '../../data/galileo.mp3')),

Reads environment variables or the filesystem — 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 #b1d353c644bab9ff Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/transcribe/groq/url.ts:8
    audio: new URL(
      'https://github.com/vercel/ai/raw/refs/heads/main/examples/ai-functions/data/galileo.mp3',
    ),

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 test-only Excluded from app score #b1a37177d83bb60a Filesystem access.
repo/examples/ai-functions/src/transcribe/openai/basic.ts:3
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 #22ed5a4615cb08f5 Filesystem access.
repo/examples/ai-functions/src/transcribe/openai/basic.ts:9
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #5659af1f13134bc8 Filesystem access.
repo/examples/ai-functions/src/transcribe/openai/string.ts:3
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 #319034e79fa77d7d Filesystem access.
repo/examples/ai-functions/src/transcribe/openai/string.ts:9
    audio: Buffer.from(await readFile('./data/galileo.mp3')).toString('base64'),

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

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

low egress test-only Excluded from app score #76ae63022515a832 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/transcribe/openai/url.ts:8
    audio: new URL(
      'https://github.com/vercel/ai/raw/refs/heads/main/examples/ai-functions/data/galileo.mp3',
    ),

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 test-only Excluded from app score #a7c81772660358e3 Filesystem access.
repo/examples/ai-functions/src/transcribe/openai/verbose.ts:3
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 #aa866256d3de1f15 Filesystem access.
repo/examples/ai-functions/src/transcribe/openai/verbose.ts:9
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #91ed1b16b77786fb Filesystem access.
repo/examples/ai-functions/src/transcribe/revai/basic.ts:3
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 #84b2988de7ecb456 Filesystem access.
repo/examples/ai-functions/src/transcribe/revai/basic.ts:9
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #e1f0ad4bf53885ae Filesystem access.
repo/examples/ai-functions/src/transcribe/revai/string.ts:3
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 #5c9db781a1e87dfd Filesystem access.
repo/examples/ai-functions/src/transcribe/revai/string.ts:9
    audio: Buffer.from(await readFile('./data/galileo.mp3')).toString('base64'),

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

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

low egress test-only Excluded from app score #0877c3b3b1c3b70e Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/transcribe/revai/url.ts:8
    audio: new URL(
      'https://github.com/vercel/ai/raw/refs/heads/main/examples/ai-functions/data/galileo.mp3',
    ),

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 test-only Excluded from app score #c20c607228e67a08 Filesystem access.
repo/examples/ai-functions/src/transcribe/xai/basic.ts:3
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 #118c20c5134cfefd Filesystem access.
repo/examples/ai-functions/src/transcribe/xai/basic.ts:9
    audio: await readFile('data/galileo.mp3'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #33bedfd93f455e2d Filesystem access.
repo/examples/ai-functions/src/transcribe/xai/string.ts:3
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 #3c3b9fef97826006 Filesystem access.
repo/examples/ai-functions/src/transcribe/xai/string.ts:9
    audio: Buffer.from(await readFile('./data/galileo.mp3')).toString('base64'),

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

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

low egress test-only Excluded from app score #97e21fdf3c9379f8 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/ai-functions/src/transcribe/xai/url.ts:8
    audio: new URL(
      'https://github.com/vercel/ai/raw/refs/heads/main/examples/ai-functions/data/galileo.mp3',
    ),

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 test-only Excluded from app score #0935c1aef71de621 Filesystem access.
repo/examples/ai-functions/src/upload-file/anthropic/image-with-stream.ts:10
      data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #6365c337bfe0cb8e Filesystem access.
repo/examples/ai-functions/src/upload-file/anthropic/image.ts:10
      data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #6f06d51f4665f839 Filesystem access.
repo/examples/ai-functions/src/upload-file/anthropic/pdf.ts:10
      data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #29378fa24c4aaaa2 Filesystem access.
repo/examples/ai-functions/src/upload-file/anthropic/provider-shorthand.ts:10
      data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #dd1f0bba5abac157 Filesystem access.
repo/examples/ai-functions/src/upload-file/anthropic/text.ts:10
      data: fs.readFileSync('./data/compaction-data.txt'),

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

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

low env_fs test-only Excluded from app score #5ca188ef25e224e1 Filesystem access.
repo/examples/ai-functions/src/upload-file/google/image-with-stream.ts:10
      data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #bde9618421659634 Filesystem access.
repo/examples/ai-functions/src/upload-file/google/image.ts:10
      data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #6483e3d3d4153956 Filesystem access.
repo/examples/ai-functions/src/upload-file/google/pdf.ts:10
      data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #7c806edb1992c278 Filesystem access.
repo/examples/ai-functions/src/upload-file/google/provider-shorthand.ts:10
      data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #2c784e15f6794211 Filesystem access.
repo/examples/ai-functions/src/upload-file/google/text.ts:10
      data: fs.readFileSync('./data/compaction-data.txt'),

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

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

low env_fs test-only Excluded from app score #f3b1d2738bd1f3f4 Filesystem access.
repo/examples/ai-functions/src/upload-file/multi-provider.ts:8
  const fileData = fs.readFileSync('./data/ai.pdf');

Reads environment variables or the filesystem — an inventory-level capability, 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 #a51aba9007fea722 Filesystem access.
repo/examples/ai-functions/src/upload-file/openai/image-with-stream.ts:10
      data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #1d149f1fae0f3e70 Filesystem access.
repo/examples/ai-functions/src/upload-file/openai/image.ts:10
      data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #01c2e996832c2425 Filesystem access.
repo/examples/ai-functions/src/upload-file/openai/pdf.ts:10
      data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #b9d9481b36dc7fff Filesystem access.
repo/examples/ai-functions/src/upload-file/openai/provider-shorthand.ts:10
      data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #fc141d85480383b7 Filesystem access.
repo/examples/ai-functions/src/upload-file/openai/text.ts:10
      data: fs.readFileSync('./data/compaction-data.txt'),

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

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

low env_fs test-only Excluded from app score #2f60f6f719de615e Filesystem access.
repo/examples/ai-functions/src/upload-file/xai/image-with-stream.ts:10
      data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #48f5cefd653a4dd0 Filesystem access.
repo/examples/ai-functions/src/upload-file/xai/image.ts:10
      data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #2517c49448552f5a Filesystem access.
repo/examples/ai-functions/src/upload-file/xai/pdf.ts:10
      data: fs.readFileSync('./data/ai.pdf'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #f743c9418ac80d37 Filesystem access.
repo/examples/ai-functions/src/upload-file/xai/provider-shorthand.ts:10
      data: fs.readFileSync('./data/comic-cat.png'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #5f3914f50dab7bcb Filesystem access.
repo/examples/ai-functions/src/upload-file/xai/text.ts:10
      data: fs.readFileSync('./data/compaction-data.txt'),

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

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

low env_fs test-only Excluded from app score #812ae7d4cdfb41fc Filesystem access.
repo/examples/ai-functions/src/upload-skill/anthropic/provider-shorthand.ts:3
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 test-only Excluded from app score #49d61ec5d85a6336 Filesystem access.
repo/examples/ai-functions/src/upload-skill/anthropic/provider-shorthand.ts:20
        data: readFileSync('data/island-rescue/SKILL.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 test-only Excluded from app score #814c4e70127c340b Filesystem access.
repo/examples/ai-functions/src/upload-skill/anthropic/upload-with-inference.ts:6
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 test-only Excluded from app score #dfd0935c7c769a71 Filesystem access.
repo/examples/ai-functions/src/upload-skill/anthropic/upload-with-inference.ts:23
        data: readFileSync('data/island-rescue/SKILL.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 test-only Excluded from app score #1ce38e10988e45bd Filesystem access.
repo/examples/ai-functions/src/upload-skill/multi-provider.ts:7
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 test-only Excluded from app score #a58169c0b65b96f0 Filesystem access.
repo/examples/ai-functions/src/upload-skill/multi-provider.ts:15
  const skillSource = readFileSync('data/island-rescue/SKILL.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 test-only Excluded from app score #36a9a1934ecb8e79 Filesystem access.
repo/examples/ai-functions/src/upload-skill/openai/provider-shorthand.ts:3
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 test-only Excluded from app score #fd6c4da702f69059 Filesystem access.
repo/examples/ai-functions/src/upload-skill/openai/provider-shorthand.ts:19
        data: readFileSync('data/island-rescue/SKILL.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 test-only Excluded from app score #ab002024201fa9b1 Filesystem access.
repo/examples/ai-functions/src/upload-skill/openai/upload-with-inference.ts:3
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 test-only Excluded from app score #0f8687a1409a78d8 Filesystem access.
repo/examples/ai-functions/src/upload-skill/openai/upload-with-inference.ts:20
        data: readFileSync('data/island-rescue/SKILL.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.

first-party (npm): examples/harness-e2e-next

npm first-party
expand_more 2 low-confidence finding(s)
low env_fs test-only Excluded from app score #83594721254beab7 Filesystem access.
repo/examples/harness-e2e-next/util/harness-resume-store.ts:36
    text = await readFile(fileFor(chatId), 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #0a47e4a0cebfa9c4 Filesystem access.
repo/examples/harness-e2e-next/util/harness-resume-store.ts:51
  await writeFile(fileFor(chatId), JSON.stringify(state), 'utf8');

Reads environment variables or the 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): examples/mcp

npm first-party
expand_more 8 low-confidence finding(s)
low env_fs test-only Excluded from app score #5d2b0c17eac7b615 Environment-variable access.
repo/examples/mcp/src/mcp-with-auth/client.ts:33
    `http://localhost:${process.env.MCP_CALLBACK_PORT ?? 8090}/callback`;

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

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

low env_fs test-only Excluded from app score #236a050d4ac44150 Environment-variable access.
repo/examples/mcp/src/repro-test.ts:6
  const clientId = process.env.GITHUB_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 test-only Excluded from app score #7500c96e9a4c1d86 Environment-variable access.
repo/examples/mcp/src/repro-test.ts:7
  const clientSecret = process.env.GITHUB_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 env_fs test-only Excluded from app score #ae4f242c84e2d46a Environment-variable access.
repo/examples/mcp/src/repro-test.ts:8
  const refreshToken = process.env.GITHUB_REFRESH_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 test-only Excluded from app score #efd9855d8a78da21 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/mcp/src/repro-test.ts:29
  const response = await fetch(GITHUB_TOKEN_ENDPOINT, {
    method: 'POST',
    headers,
    body: 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 pii_flow test-only Excluded from app score #54a245a4b53e17b6 A credential read from the environment/filesystem flows to an external network call in a non-auth-header position (request body). Review what is sent. Non-production path — not application runtime.
repo/examples/mcp/src/repro-test.ts:29 · flow /tmp/closeopen-sl219vn4/repo/examples/mcp/src/repro-test.ts:7 → /tmp/closeopen-sl219vn4/repo/examples/mcp/src/repro-test.ts:29
  const response = await fetch(GITHUB_TOKEN_ENDPOINT, {
    method: 'POST',
    headers,
    body: params,
  });

User/PII-bearing data flows to an external sink — the classic data-exfiltration shape.

Fix: Confirm no user identifiers reach this sink; redact/hash before sending, or remove the flow.

low egress test-only Excluded from app score #cf367144ce9374be Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/mcp/src/shopify-mcp/client.ts:8
    new URL('https://cowboy.com/api/mcp'),

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 #99bdf725eb33a931 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/mcp/src/stdio/server.ts:69
    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.

first-party (npm): examples/next

npm first-party
expand_more 6 low-confidence finding(s)
low egress test-only Excluded from app score #4ec33469c22b413b Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/next/app/chat/[chatId]/chat.tsx:88
          fetch(`/api/chat/${chatData.id}/stream`, {
            method: 'DELETE',
          });

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 test-only Excluded from app score #ab5fe23edf0a1ac0 Filesystem access.
repo/examples/next/util/chat-store.ts:2
import { existsSync, mkdirSync } from 'fs';

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

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

low env_fs test-only Excluded from app score #1e393f911ca3ab79 Filesystem access.
repo/examples/next/util/chat-store.ts:3
import { readdir, 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 test-only Excluded from app score #96c8abc73388a826 Filesystem access.
repo/examples/next/util/chat-store.ts:61
  await writeFile(await getChatFile(chat.id), JSON.stringify(chat, null, 2));

Reads environment variables or the filesystem — an inventory-level capability, 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 #b3f9449dae8c7678 Filesystem access.
repo/examples/next/util/chat-store.ts:66
  return JSON.parse(await readFile(await getChatFile(id), 'utf8'));

Reads environment variables or the filesystem — an inventory-level capability, 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 #a0d78463a36103a8 Filesystem access.
repo/examples/next/util/chat-store.ts:95
    await writeFile(chatFile, JSON.stringify(blankChat, null, 2));

Reads environment variables or the 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): examples/next-fastapi

npm first-party
expand_more 3 low-confidence finding(s)
low env_fs test-only Excluded from app score #8fa03abfe6cf60ea Environment-variable access.
repo/examples/next-fastapi/next.config.ts:9
          process.env.NODE_ENV === 'development'

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

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

low env_fs test-only Excluded from app score #f805c4fb64a00f44 Environment-variable access.
repo/examples/next-fastapi/next.config.ts:16
          process.env.NODE_ENV === 'development'

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

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

low env_fs test-only Excluded from app score #bad6aaaa503b2edd Environment-variable access.
repo/examples/next-fastapi/next.config.ts:23
          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.

first-party (npm): examples/next-langchain

npm first-party
expand_more 1 low-confidence finding(s)
low egress test-only Excluded from app score #18f3b782e3495ddf Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/next-langchain/app/multimodal/page.tsx:63
  const response = await fetch(imagePath);

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): examples/next-openai-kasada-bot-protection

npm first-party
expand_more 5 low-confidence finding(s)
low egress test-only Excluded from app score #290fe9623ef329e1 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/next-openai-kasada-bot-protection/app/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/[[...restpath]]/route.ts:14
  const r = await fetch(url.toString(), {
    method: request.method,
    body: request.body,
    headers,
    mode: request.mode,
    redirect: 'manual',
    // @ts-expect-error
    duplex: 'half',
  });

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 #f362349f017c3171 Hardcoded external endpoint. Review what data is sent to this destination.
repo/examples/next-openai-kasada-bot-protection/kasada/kasada-server.tsx:82
    const response = await fetch(kasadaAPIURL, {
      method: 'POST',
      headers: {
        'X-Forwarded-Host': url.hostname,
        'Content-Type': 'application/json',
        Authorization: `KasadaApiTokenV1 ${process.env.KASADA_TOKEN ?? ''}`,
      },
      signal: timeoutController.signal,
      body: JSON.stringify(kasadaPayload),
      keepalive: true,
    });

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 pii_flow test-only Excluded from app score #cd4210202aaaac79 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration. Non-production path — not application runtime.
repo/examples/next-openai-kasada-bot-protection/kasada/kasada-server.tsx:84 · flow /tmp/closeopen-sl219vn4/repo/examples/next-openai-kasada-bot-protection/kasada/kasada-server.tsx:87 → /tmp/closeopen-sl219vn4/repo/examples/next-openai-kasada-bot-protection/kasada/kasada-server.tsx:84
      headers: {
        'X-Forwarded-Host': url.hostname,
        'Content-Type': 'application/json',
        Authorization: `KasadaApiTokenV1 ${process.env.KASADA_TOKEN ?? ''}`,
      },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

low env_fs test-only Excluded from app score #a457c8688b5ac113 Environment-variable access.
repo/examples/next-openai-kasada-bot-protection/kasada/kasada-server.tsx:87
        Authorization: `KasadaApiTokenV1 ${process.env.KASADA_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 test-only Excluded from app score #dfbdab968ba71a1e Environment-variable access.
repo/examples/next-openai-kasada-bot-protection/middleware.ts:6
    if (process.env.NODE_ENV === 'development') {

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

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

first-party (npm): examples/next-openai-upstash-rate-limits

npm first-party
expand_more 1 low-confidence finding(s)
low env_fs test-only Excluded from app score #59749bc267f07084 Environment-variable access.
repo/examples/next-openai-upstash-rate-limits/app/api/chat/route.ts:15
  if (process.env.KV_REST_API_URL && 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.

first-party (npm): examples/next-workflow

npm first-party
expand_more 2 low-confidence finding(s)
low egress test-only Excluded from app score #877060eb02dbd5d7 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/examples/next-workflow/app/telemetry/page.tsx:146
      const response = await fetch(
        `/api/telemetry-events/${telemetryRunId}?scenario=${scenarioRef.current}`,
      );

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 test-only Excluded from app score #857530ef825a7951 Environment-variable access.
repo/examples/next-workflow/lib/devtools-bridge.ts:5
  process.env.NEXT_WORKFLOW_DEVTOOLS_BRIDGE_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.

first-party (npm): examples/xai-tts-demo

npm first-party
expand_more 4 low-confidence finding(s)
low env_fs test-only Excluded from app score #0f6e1360af340ec0 Environment-variable access.
repo/examples/xai-tts-demo/server.mjs:8
const PORT = Number(process.env.PORT) || 5051;

Reads environment variables or the filesystem — an inventory-level capability, 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 #3046217929550702 Environment-variable access.
repo/examples/xai-tts-demo/server.mjs:428
      if (!process.env.XAI_API_KEY) {

Reads environment variables or the filesystem — an inventory-level capability, 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 #29a5de2b1ccd5d50 Environment-variable access.
repo/examples/xai-tts-demo/server.mjs:481
      if (!process.env.XAI_API_KEY) {

Reads environment variables or the filesystem — an inventory-level capability, 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 #3b888be76a245302 Environment-variable access.
repo/examples/xai-tts-demo/server.mjs:538
  if (!process.env.XAI_API_KEY) {

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

npm first-party
expand_more 67 low-confidence finding(s)
low env_fs test-only Excluded from app score #5b917bfcfa1ec780 Filesystem access.
repo/packages/ai/scripts/check-bundle-size.ts:2
import { writeFileSync, statSync } from 'fs';

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

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

low env_fs test-only Excluded from app score #411bae67342ba198 Filesystem access.
repo/packages/ai/scripts/check-bundle-size.ts:30
  writeFileSync(metafile, JSON.stringify(result.metafile, null, 2));

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

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

low env_fs test-only Excluded from app score #f97df8c5e32fc11c Filesystem access.
repo/packages/ai/scripts/check-bundle-size.ts:57
  writeFileSync(metafile, JSON.stringify(result.metafile, null, 2));

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

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

low egress test-only Excluded from app score #372cbfa4929ef1ea Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/agent/tool-loop-agent.test.ts:361
                image: new URL('https://example.com/image.png'),

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 #3077f1317b162686 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/agent/tool-loop-agent.test.ts:370
          url: new URL('https://example.com/image.png'),

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 #e0668f90cc824ce1 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:143
                    image: new URL('https://example.com/image.png'),

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 #c6aaffef1260e906 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:151
            expect(url).toEqual(new URL('https://example.com/image.png'));

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 #32b673d64fa5875a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:191
            expect(url).toEqual(new URL('https://example.com/image.png'));

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 #418d847da5a2b75f Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:262
                    data: new URL('https://example.com/document.pdf'),

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 #bc7dbf3f686a3a7e Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:283
                  url: new URL('https://example.com/document.pdf'),

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 #68081e7c6a7aa422 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:302
                    data: new URL('https://example.com/document.pdf'),

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 #2be26ffb46b5e48e Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:314
            expect(url).toEqual(new URL('https://example.com/document.pdf'));

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 #3e111a39032b34bf Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:425
                    data: new URL('https://example.com/document.pdf'),

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 #7a34af5a244825ba Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:434
            expect(url).toEqual(new URL('https://example.com/document.pdf'));

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 #a1e97f9cf1611648 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:475
            expect(url).toEqual(new URL('https://example.com/document.pdf'));

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 #811075b6cc03090d Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:521
            expect(url).toEqual(new URL('https://example.com/document.pdf'));

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 #0554b8769088600e Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:553
                    data: new URL('https://example.com/document.pdf'),

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 #e4a42fa410ee7382 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:578
                  url: new URL('https://example.com/document.pdf'),

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 #50fde0b0947ef479 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:605
            expect(url).toEqual(new URL('https://example.com/document.pdf'));

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 #2da68a7ef75ea6da Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:676
                    data: new URL('https://example.com/document.pdf'),

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 #eff9377d2001ef50 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:686
            expect(url).toEqual(new URL('https://example.com/document.pdf'));

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 #22a58c6034a56dc7 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:719
                    data: new URL('https://example.com/image.jpg'),

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

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

low egress test-only Excluded from app score #133712a0b56a861d Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:728
            expect(url).toEqual(new URL('https://example.com/image.jpg'));

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

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

low egress test-only Excluded from app score #b46413d26ae033c2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:773
                    data: new URL('https://example.com/document.txt'),

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 #1b8d47996955e929 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:782
            expect(url).toEqual(new URL('https://example.com/document.txt'));

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 #97c985335b716789 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:912
          url: new URL(imageUrlA),

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 #476ecbb405098076 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:918
          url: new URL(imageUrlB),

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 #e801b19325b6b2ed Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:1234
          url: new URL('https://example.com/test-file.txt'),

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 #0d70b3b31182b6a4 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:1263
          url: new URL('https://example.com/test-file.txt'),

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 #e3e0327f5aa2db91 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:1288
          url: new URL('https://example.com/image.png'),

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 #abf283f51b1a139b Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:1324
                          url: new URL('https://example.com/image.png'),

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 #2955dfa2e4446649 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:1341
          url: new URL('https://example.com/image.png'),

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 #e68dd6f859e8c6da Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:1394
          url: new URL('https://example.com/assistant-image.png'),

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 #d99da10bd51b4214 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:1419
                          url: new URL(
                            'https://example.com/assistant-image.png',
                          ),

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 #2a3ee597c1ddfc94 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:1438
          url: new URL('https://example.com/assistant-image.png'),

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 #70558c58a90a529b Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:1548
                url: new URL('https://example.com/image.jpg'),

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

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

low egress test-only Excluded from app score #986e7eab05735e97 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:1633
                url: new URL('https://example.com/image.jpg'),

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

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

low egress test-only Excluded from app score #28f620f6c09bf910 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:2645
                url: new URL('https://example.com/image.png'),

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 #46ec55e9a307fd6a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:3021
                        url: new URL('https://example.com/image.png'),

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 #3fa1ace06df34db8 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:3066
                        url: new URL('https://example.com/image.png'),

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 #50fcbcbb346ff580 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/convert-to-language-model-prompt.test.ts:3113
                url: new URL('https://example.com/image.png'),

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 #402d88c371a2251b Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/file-part-data.test.ts:44
      const url = new URL('https://example.com/file.pdf');

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 #2c1da47e5cf40f1e Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/file-part-data.test.ts:108
      const url = new URL('https://example.com/file.pdf');

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 #6236ad292470f76b Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/prompt/file-part-data.test.ts:159
      const url = new URL('https://example.com/file.pdf');

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 #fdde271da4efd67e Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/ai/src/realtime/realtime-session.ts:110
      const response = await fetch(this.api.token, {
        method: 'POST',
        headers: { 'Content-Type': 'application/json' },
        body: JSON.stringify({ sessionConfig: this.sessionConfig }),
      });

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 #64dc298ab1b6a508 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/ai/src/ui/call-completion-api.ts:57
    const response = await fetch(api, {
      method: 'POST',
      body: JSON.stringify({
        prompt,
        ...body,
      }),
      credentials,
      headers: withUserAgentSuffix(
        {
          'Content-Type': 'application/json',
          ...headers,
        },
        `ai-sdk/${VERSION}`,
        getRuntimeEnvironmentUserAgent(),
      ),
      signal: abortController.signal,
    }).catch(err => {

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 #35f8e0caaf4f58ba Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/ui/convert-to-model-messages.test.ts:223
                url: new URL('https://example.com/image.jpg'),

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

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

low egress test-only Excluded from app score #b11ba8ee5b73e3c7 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/ui/convert-to-model-messages.test.ts:257
                url: new URL('https://example.com/image.jpg'),

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

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

low egress test-only Excluded from app score #98b1df4802936831 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/ui/convert-to-model-messages.test.ts:291
                url: new URL('https://example.com/image.jpg'),

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

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

low egress test-only Excluded from app score #90289308d800d112 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/ui/convert-to-model-messages.test.ts:360
              url: new URL('https://example.com/image.jpg'),

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

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

low egress production #69e0c4eee1def89d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/ai/src/ui/http-chat-transport.ts:191
    const response = await fetch(api, {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
        ...headers,
      },
      body: JSON.stringify(body),
      credentials,
      signal: abortSignal,
    });

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 #0ab853420c6c5a9b Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/ai/src/ui/http-chat-transport.ts:246
    const response = await fetch(api, {
      method: 'GET',
      headers,
      credentials,
    });

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 #28d51e3f7e13066c Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:11
      download({ url: new URL('http://10.0.0.1/file') }),

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 #9a04d27b3bebe05f Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:14
      download({ url: new URL('http://169.254.169.254/latest/meta-data/') }),

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 #b21f396f552aeaa5 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:53
      download({ url: new URL('https://evil.com/redirect') }),

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 #b9d7812e9af37867 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:81
      download({ url: new URL('https://evil.com/redirect') }),

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 #4edc7be84d81dfd6 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:115
        url: new URL('https://example.com/image.png'),

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 #3f80d052d272271a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:148
      download({ url: new URL('https://example.com/redirect') }),

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 #820332f0617e4f5b Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:177
      url: new URL('https://example.com/image.png'),

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 #ccc8de428e5bb1e8 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:219
      url: new URL('http://example.com/file'),

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 #9049d5c932283c7c Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:253
        url: new URL('http://example.com/file'),

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 #1bb70906da2f4d37 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:268
        url: new URL('http://example.com/file'),

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 #455a4dea2c2012e3 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:295
      download({ url: new URL('http://example.com/not-found') }),

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 #439b591f5d355b5c Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:322
      download({ url: new URL('http://example.com/large') }),

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 #3b56e8389a41784e Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:346
        url: new URL('http://example.com/large'),

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 #0588641ae1b2d602 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/ai/src/util/download/download.test.ts:369
        url: new URL('http://example.com/file'),

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 test-only Excluded from app score #c0401ecc523228d3 Filesystem access.
repo/packages/ai/vitest.config.js:5
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

Reads environment variables or the 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/alibaba

npm first-party
expand_more 3 low-confidence finding(s)
low env_fs test-only Excluded from app score #0e5826f77be0ee2e Filesystem access.
repo/packages/alibaba/src/alibaba-chat-language-model.test.ts:34
        fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #131f2ffc82932a7d Filesystem access.
repo/packages/alibaba/src/alibaba-chat-language-model.test.ts:277
    const chunks = fs
      .readFileSync(`src/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the filesystem — 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 #2c9c57aa6f0fc42b Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/alibaba/src/convert-to-alibaba-chat-messages.test.ts:790
                  url: new URL('https://example.com/x.png'),

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/amazon-bedrock

npm first-party
expand_more 4 low-confidence finding(s)
low env_fs test-only Excluded from app score #d71bbc29321ee230 Filesystem access.
repo/packages/amazon-bedrock/src/amazon-bedrock-chat-language-model.test.ts:139
      fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #38a7fcae5f8a08cf Filesystem access.
repo/packages/amazon-bedrock/src/amazon-bedrock-chat-language-model.test.ts:148
  const chunks = fs
    .readFileSync(`src/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the filesystem — 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 #5a889b46c2de8483 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/amazon-bedrock/src/convert-to-amazon-bedrock-chat-messages.test.ts:2294
                url: new URL('https://example.com/image.png'),

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 test-only Excluded from app score #afc2866a83ca4046 Filesystem access.
repo/packages/amazon-bedrock/src/reranking/amazon-bedrock-reranking-model.test.ts:32
        fs.readFileSync(`src/reranking/__fixtures__/${filename}.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.

first-party (npm): packages/anthropic

npm first-party
expand_more 20 low-confidence finding(s)
low env_fs test-only Excluded from app score #ae68073e338cd6ad Filesystem access.
repo/packages/anthropic/src/anthropic-language-model.test.ts:46
        fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #3228e7f13eaea2be Filesystem access.
repo/packages/anthropic/src/anthropic-language-model.test.ts:53
    const chunks = fs
      .readFileSync(`src/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the filesystem — an inventory-level capability, 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 #3539df22663e4c7a Filesystem access.
repo/packages/anthropic/src/anthropic-language-model.test.ts:10781
        fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #b31163b77227c290 Environment-variable access.
repo/packages/anthropic/src/anthropic-provider.test.ts:39
    const originalBaseUrl = process.env.ANTHROPIC_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 test-only Excluded from app score #f0ef75142a564f7a Environment-variable access.
repo/packages/anthropic/src/anthropic-provider.test.ts:47
        delete process.env.ANTHROPIC_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 test-only Excluded from app score #281a3ed0104595e9 Environment-variable access.
repo/packages/anthropic/src/anthropic-provider.test.ts:49
        process.env.ANTHROPIC_BASE_URL = originalBaseUrl;

Reads environment variables or the filesystem — an inventory-level capability, 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 #92b64ca646359aab Environment-variable access.
repo/packages/anthropic/src/anthropic-provider.test.ts:54
      delete process.env.ANTHROPIC_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 test-only Excluded from app score #4185cbf971b28fac Environment-variable access.
repo/packages/anthropic/src/anthropic-provider.test.ts:72
      process.env.ANTHROPIC_BASE_URL = 'https://proxy.anthropic.example/v1/';

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

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

low env_fs test-only Excluded from app score #e1cba19ac0f780b9 Environment-variable access.
repo/packages/anthropic/src/anthropic-provider.test.ts:90
      process.env.ANTHROPIC_BASE_URL = 'https://api.anthropic.com/';

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

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

low env_fs test-only Excluded from app score #2e41e31ae7a216af Environment-variable access.
repo/packages/anthropic/src/anthropic-provider.test.ts:125
      process.env.ANTHROPIC_BASE_URL = 'https://env.anthropic.example/v1';

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

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

low egress test-only Excluded from app score #8c1cdaf38c520950 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/anthropic/src/convert-to-anthropic-prompt.test.ts:130
                url: new URL('https://example.com/image.png'),

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 #30741751d191cf69 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/anthropic/src/convert-to-anthropic-prompt.test.ts:233
                  url: new URL('https://example.com/x.png'),

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 #f503591e2eced43a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/anthropic/src/convert-to-anthropic-prompt.test.ts:338
                url: new URL('https://example.com/image.png'),

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 #b03691b528c7e796 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/anthropic/src/convert-to-anthropic-prompt.test.ts:382
                url: new URL('https://example.com/document.pdf'),

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 #ffbe7a4cd5595db0 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/anthropic/src/convert-to-anthropic-prompt.test.ts:468
                url: new URL('https://example.com/document.pdf'),

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 #e2c9b177d2b0edf6 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/anthropic/src/convert-to-anthropic-prompt.test.ts:1224
                      url: new URL('https://example.com/document.pdf'),

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 #ecb776643adbd0a8 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/anthropic/src/convert-to-anthropic-prompt.test.ts:1288
                      url: new URL('https://example.com/image.png'),

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 test-only Excluded from app score #8d25d54e9833cb7a Filesystem access.
repo/packages/anthropic/src/skills/anthropic-skills.test.ts:38
      fs.readFileSync(`src/skills/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs production #88dcbe352eee8cd7 Filesystem access.
repo/packages/anthropic/vitest.edge.config.js:5
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

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

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

low env_fs production #a731910b3aef94e0 Filesystem access.
repo/packages/anthropic/vitest.node.config.js:5
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

Reads environment variables or the 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/assemblyai

npm first-party
expand_more 1 low-confidence finding(s)
low env_fs test-only Excluded from app score #667cea162e1aa89d Filesystem access.
repo/packages/assemblyai/src/assemblyai-transcription-model.test.ts:12
const audioData = await readFile(path.join(__dirname, 'transcript-test.mp3'));

Reads environment variables or the 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/azure

npm first-party
expand_more 2 low-confidence finding(s)
low env_fs test-only Excluded from app score #f28a4ecd29abec0e Filesystem access.
repo/packages/azure/src/azure-openai-provider.test.ts:39
      fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #7523e4bd58fad924 Filesystem access.
repo/packages/azure/src/azure-openai-provider.test.ts:49
  const chunks = fs
    .readFileSync(`src/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the 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/cartesia

npm first-party
expand_more 2 low-confidence finding(s)
low env_fs test-only Excluded from app score #86b092a571244739 Filesystem access.
repo/packages/cartesia/src/cartesia-transcription-model.test.ts:17
const audioData = await readFile(path.join(__dirname, 'transcript-test.mp3'));

Reads environment variables or the filesystem — an inventory-level capability, 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 #198a2fb29025bdc7 Filesystem access.
repo/packages/cartesia/src/cartesia-transcription-model.test.ts:73
      fs.readFileSync(`src/__fixtures__/${filename}.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.

first-party (npm): packages/cerebras

npm first-party
expand_more 2 low-confidence finding(s)
low env_fs test-only Excluded from app score #96ae7d8f2e7bf8cd Filesystem access.
repo/packages/cerebras/src/cerebras-chat-language-model.test.ts:35
    new Response(fs.readFileSync(`src/fixtures/${filename}.json`, 'utf8'), {

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

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

low env_fs test-only Excluded from app score #5f3da92fcd4c1ffa Filesystem access.
repo/packages/cerebras/src/cerebras-chat-language-model.test.ts:42
  const chunks = fs
    .readFileSync(`src/fixtures/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the 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/codemod

npm first-party
expand_more 13 low-confidence finding(s)
low env_fs test-only Excluded from app score #81d0f29c2beab02c Filesystem access.
repo/packages/codemod/scripts/generate-readme.ts:1
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #3f62ff4854564228 Filesystem access.
repo/packages/codemod/scripts/generate-readme.ts:126
const readmeContent = fs.readFileSync(readmePath, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #04b2038f38d68e0e Filesystem access.
repo/packages/codemod/scripts/generate-readme.ts:146
fs.writeFileSync(readmePath, newReadmeContent);

Reads environment variables or the filesystem — an inventory-level capability, 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 #2c18478707814259 Filesystem access.
repo/packages/codemod/scripts/scaffold-codemod.ts:1
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #b535e90602ea64e0 Filesystem access.
repo/packages/codemod/scripts/scaffold-codemod.ts:50
fs.writeFileSync(paths.codemod, codemodTemplate);

Reads environment variables or the filesystem — an inventory-level capability, 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 #50f397502695e93f Filesystem access.
repo/packages/codemod/scripts/scaffold-codemod.ts:51
fs.writeFileSync(paths.test, testTemplate);

Reads environment variables or the filesystem — an inventory-level capability, 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 #bb7597102bd5a2d6 Filesystem access.
repo/packages/codemod/scripts/scaffold-codemod.ts:52
fs.writeFileSync(
  path.join(paths.fixtures, `${codemodName}.input.ts`),
  inputTemplate,
);

Reads environment variables or the filesystem — an inventory-level capability, 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 #1f326dd238971d72 Filesystem access.
repo/packages/codemod/scripts/scaffold-codemod.ts:56
fs.writeFileSync(
  path.join(paths.fixtures, `${codemodName}.output.ts`),
  outputTemplate,
);

Reads environment variables or the filesystem — an inventory-level capability, 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 #e06f883cc199d7db Filesystem access.
repo/packages/codemod/scripts/scaffold-codemod.ts:63
const upgradeContent = fs.readFileSync(upgradePath, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #1778f2e5c6331e6d Filesystem access.
repo/packages/codemod/scripts/scaffold-codemod.ts:82
  fs.writeFileSync(upgradePath, newContent);

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

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

low env_fs production #af10997c2cd58078 Filesystem access.
repo/packages/codemod/src/lib/transform.ts:3
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #f9561a278d968d45 Environment-variable access.
repo/packages/codemod/vitest.config.ts:11
    maxWorkers: process.env.CI ? 2 : 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 test-only Excluded from app score #49652b5bcb047658 Environment-variable access.
repo/packages/codemod/vitest.config.ts:12
    testTimeout: process.env.CI ? 30_000 : 5_000,

Reads environment variables or the 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/cohere

npm first-party
expand_more 5 low-confidence finding(s)
low env_fs test-only Excluded from app score #667cd30074b88356 Filesystem access.
repo/packages/cohere/src/cohere-chat-language-model.test.ts:33
      fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #17de453dc9c610f8 Filesystem access.
repo/packages/cohere/src/cohere-chat-language-model.test.ts:42
  const chunks = fs
    .readFileSync(`src/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the filesystem — an inventory-level capability, 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 #eaf7a5ef615d0aa5 Filesystem access.
repo/packages/cohere/src/cohere-embedding-model.test.ts:27
      fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low egress test-only Excluded from app score #8ab5e0f1e77d2be0 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/cohere/src/convert-to-cohere-chat-prompt.test.ts:159
                url: new URL('https://example.com/cat.png'),

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 test-only Excluded from app score #99273efc80b2280d Filesystem access.
repo/packages/cohere/src/reranking/cohere-reranking-model.test.ts:19
        fs.readFileSync(`src/reranking/__fixtures__/${filename}.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.

first-party (npm): packages/deepgram

npm first-party
expand_more 2 low-confidence finding(s)
low env_fs test-only Excluded from app score #c2fc05a74657bf5b Filesystem access.
repo/packages/deepgram/src/deepgram-transcription-model.test.ts:13
const audioData = await readFile(path.join(__dirname, 'transcript-test.mp3'));

Reads environment variables or the filesystem — an inventory-level capability, 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 #93184bb111bfb323 Filesystem access.
repo/packages/deepgram/src/deepgram-transcription-model.test.ts:29
      fs.readFileSync(`src/__fixtures__/${filename}.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.

first-party (npm): packages/deepseek

npm first-party
expand_more 2 low-confidence finding(s)
low env_fs test-only Excluded from app score #63001310d99c482f Filesystem access.
repo/packages/deepseek/src/chat/deepseek-chat-language-model.test.ts:28
          fs.readFileSync(`src/chat/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #e0515c16d20a8525 Filesystem access.
repo/packages/deepseek/src/chat/deepseek-chat-language-model.test.ts:698
      const chunks = fs
        .readFileSync(`src/chat/__fixtures__/${filename}.chunks.txt`, 'utf8')

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

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

first-party (npm): packages/devtools

npm first-party
expand_more 25 low-confidence finding(s)
low env_fs production #25234e75754e1d63 Environment-variable access.
repo/packages/devtools/bin/cli.js:5
const port = process.env.AI_SDK_DEVTOOLS_PORT

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

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

low env_fs production #5efb89de86cdb698 Environment-variable access.
repo/packages/devtools/bin/cli.js:6
  ? parseInt(process.env.AI_SDK_DEVTOOLS_PORT)

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

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

low env_fs test-only Excluded from app score #9b151d71349683c7 Filesystem access.
repo/packages/devtools/src/db.test.ts:23
  fs.writeFileSync(dbPath, JSON.stringify({ runs, steps: [] }));

Reads environment variables or the filesystem — an inventory-level capability, 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 #bc98549f38159561 Filesystem access.
repo/packages/devtools/src/db.test.ts:112
    fs.writeFileSync(dbPath, '');

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

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

low env_fs production #b3dec4d79099972a Environment-variable access.
repo/packages/devtools/src/db.ts:11
const DEVTOOLS_PORT = process.env.AI_SDK_DEVTOOLS_PORT

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

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

low env_fs production #7ad0847bc9e47279 Environment-variable access.
repo/packages/devtools/src/db.ts:12
  ? parseInt(process.env.AI_SDK_DEVTOOLS_PORT)

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

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

low egress production #cb116cd8e2ef754e Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/devtools/src/db.ts:31
    await fetch(`http://localhost:${DEVTOOLS_PORT}/api/notify`, {
      method: 'POST',
      headers: { 'Content-Type': 'application/json' },
      body: JSON.stringify({ event, timestamp: Date.now(), dbPath: DB_PATH }),
    });

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

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

low env_fs production #04dc857e7514d6dc Filesystem access.
repo/packages/devtools/src/db.ts:94
  const content = fs.readFileSync(gitignorePath, 'utf-8');

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

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

low env_fs production #7c0fd3d7cbb96f59 Filesystem access.
repo/packages/devtools/src/db.ts:106
    fs.writeFileSync(gitignorePath, newContent);

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

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

low env_fs production #33624a76b46b96cb Filesystem access.
repo/packages/devtools/src/db.ts:113
      const content = fs.readFileSync(DB_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 #4aa9ecb594650107 Filesystem access.
repo/packages/devtools/src/db.ts:130
  fs.writeFileSync(DB_PATH, JSON.stringify(db, null, 2));

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

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

low env_fs production #59fb39be473094b9 Filesystem access.
repo/packages/devtools/src/db.ts:196
      const content = fs.readFileSync(validatedRemoteDbPath, 'utf-8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #205bbf2c279602bc Environment-variable access.
repo/packages/devtools/src/integration.test.ts:98
    const original = process.env.NODE_ENV;

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

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

low env_fs test-only Excluded from app score #ab03efb8ad6d57d1 Environment-variable access.
repo/packages/devtools/src/integration.test.ts:99
    process.env.NODE_ENV = 'production';

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

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

low env_fs test-only Excluded from app score #bde74add5bbd6190 Environment-variable access.
repo/packages/devtools/src/integration.test.ts:105
      process.env.NODE_ENV = original;

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

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

low env_fs production #8d0b47bcd47160ee Environment-variable access.
repo/packages/devtools/src/integration.ts:115
  if (process.env.NODE_ENV === 'production') {

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

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

low env_fs production #9b27611913e4c802 Environment-variable access.
repo/packages/devtools/src/middleware.ts:101
  if (process.env.NODE_ENV === 'production') {

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

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

low egress production #90b00192b844240e Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/devtools/src/viewer/client/app.tsx:101
          fetch(`/api/runs/${selectedRun.run.id}`)

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 #6c8dadaae4cfb791 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/devtools/src/viewer/client/app.tsx:132
    const res = await fetch(`/api/runs/${runId}`);

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 #bd52d265db8cd4d8 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/devtools/src/viewer/server.test.ts:56
    const response = await app.request('http://192.0.2.10:4983/api/runs', {
      headers: {
        host: '192.0.2.10:4983',
      },
    });

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 #be07b22cddf3a5c5 Filesystem access.
repo/packages/devtools/src/viewer/server.ts:6
import fs from 'fs';

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

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

low env_fs production #536a08303da04689 Environment-variable access.
repo/packages/devtools/src/viewer/server.ts:48
const devEnv = process.env.AI_SDK_DEVTOOLS_DEV;

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

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

low env_fs production #9af89461e5a0767e Filesystem access.
repo/packages/devtools/src/viewer/server.ts:316
    const html = fs.readFileSync(indexPath, 'utf-8');

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

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

low env_fs production #9b5263fd8fc6fa19 Environment-variable access.
repo/packages/devtools/src/viewer/server.ts:367
  const port = process.env.AI_SDK_DEVTOOLS_PORT

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

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

low env_fs production #fad533f2020a0e9a Environment-variable access.
repo/packages/devtools/src/viewer/server.ts:368
    ? parseInt(process.env.AI_SDK_DEVTOOLS_PORT)

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

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

first-party (npm): packages/elevenlabs

npm first-party
expand_more 2 low-confidence finding(s)
low env_fs test-only Excluded from app score #08dc6a22c7c7caef Filesystem access.
repo/packages/elevenlabs/src/elevenlabs-transcription-model.test.ts:13
const audioData = await readFile(path.join(__dirname, 'transcript-test.mp3'));

Reads environment variables or the filesystem — an inventory-level capability, 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 #d5c9c5327e1bd655 Filesystem access.
repo/packages/elevenlabs/src/elevenlabs-transcription-model.test.ts:29
      fs.readFileSync(`src/__fixtures__/${filename}.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.

first-party (npm): packages/fal

npm first-party
expand_more 5 low-confidence finding(s)
low env_fs production #51726daf3551daa6 Environment-variable access.
repo/packages/fal/src/fal-provider.ts:109
  let envApiKey = process.env.FAL_API_KEY;

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

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

low env_fs production #feb9be8519025b03 Environment-variable access.
repo/packages/fal/src/fal-provider.ts:111
    envApiKey = process.env.FAL_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #f8a4189e59091761 Filesystem access.
repo/packages/fal/src/fal-transcription-model.test.ts:9
const audioData = await readFile(path.join(__dirname, 'transcript-test.mp3'));

Reads environment variables or the filesystem — an inventory-level capability, 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 #aac65cc011288580 Filesystem access.
repo/packages/fal/src/fal-transcription-model.test.ts:23
      fs.readFileSync('src/__fixtures__/fal-transcription-queue.json', 'utf8'),

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

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

low env_fs test-only Excluded from app score #2a8006f30ec2f887 Filesystem access.
repo/packages/fal/src/fal-transcription-model.test.ts:31
        fs.readFileSync(
          'src/__fixtures__/fal-transcription-result.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.

first-party (npm): packages/gateway

npm first-party
expand_more 25 low-confidence finding(s)
low env_fs test-only Excluded from app score #5c05553ba1f4bf11 Filesystem access.
repo/packages/gateway/scripts/generate-model-settings.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 egress test-only Excluded from app score #4c5c2ffafc2b4358 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/gateway/scripts/generate-model-settings.ts:65
  const response = await fetch(API_URL);

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

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

low env_fs test-only Excluded from app score #cc9a850c6f0f812b Filesystem access.
repo/packages/gateway/scripts/generate-model-settings.ts:130
    fs.writeFileSync(outputPath, 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 egress test-only Excluded from app score #6c7ca78db024c44a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/gateway/src/gateway-language-model.test.ts:379
        const imageUrl = new URL('https://example.com/image.jpg');

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

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

low egress test-only Excluded from app score #a5855b8d037feed2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/gateway/src/gateway-language-model.test.ts:413
        const imageUrl = new URL('https://example.com/image2.png');

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 #9f227e205097ec90 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/gateway/src/gateway-language-model.test.ts:938
        const imageUrl = new URL('https://example.com/image.jpg');

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

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

low egress test-only Excluded from app score #a6431d25b9c8d79f Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/gateway/src/gateway-language-model.test.ts:974
        const imageUrl = new URL('https://example.com/image2.png');

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 #8f5831e55541c669 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/gateway/src/gateway-language-model.test.ts:1762
              data: { type: 'url', url: new URL('https://example.com/a.png') },

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 test-only Excluded from app score #cab439801bad74a3 Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:804
      process.env.VERCEL_DEPLOYMENT_ID = 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 test-only Excluded from app score #9084752e8fc0bcb6 Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:805
      process.env.VERCEL_ENV = 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 test-only Excluded from app score #28032f55e242ff15 Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:806
      process.env.VERCEL_REGION = 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 test-only Excluded from app score #1e01e1f0b66de4a6 Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:1148
            process.env.VERCEL_OIDC_TOKEN = testCase.envOidcToken;

Reads environment variables or the filesystem — an inventory-level capability, 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 #859de86125314929 Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:1150
            delete process.env.VERCEL_OIDC_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 test-only Excluded from app score #cc8c6b4b210a81c1 Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:1154
            process.env.AI_GATEWAY_API_KEY = testCase.envApiKey;

Reads environment variables or the filesystem — an inventory-level capability, 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 #c880e7a01206f760 Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:1156
            delete process.env.AI_GATEWAY_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #bf1752e4ae949790 Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:1213
            process.env.VERCEL_OIDC_TOKEN = testCase.envOidcToken;

Reads environment variables or the filesystem — an inventory-level capability, 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 #aa3bb0293ff08be7 Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:1215
            delete process.env.VERCEL_OIDC_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 test-only Excluded from app score #203b0b949db764bf Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:1219
            process.env.AI_GATEWAY_API_KEY = testCase.envApiKey;

Reads environment variables or the filesystem — an inventory-level capability, 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 #c046e524256a4893 Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:1221
            delete process.env.AI_GATEWAY_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #df79f1968f3cdf1d Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:1337
        delete process.env.AI_GATEWAY_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #e231d6febba42cf6 Environment-variable access.
repo/packages/gateway/src/gateway-provider.test.ts:1419
        delete process.env.AI_GATEWAY_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #f8a6909c09f31ad1 Environment-variable access.
repo/packages/gateway/src/gateway-realtime-model.test.ts:313
    previousApiKey = process.env.AI_GATEWAY_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #0acb2d7c1b3a187d Environment-variable access.
repo/packages/gateway/src/gateway-realtime-model.test.ts:322
      process.env.AI_GATEWAY_API_KEY = previousApiKey;

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

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

low env_fs production #926364dae8acd96d Filesystem access.
repo/packages/gateway/vitest.edge.config.js:5
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

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

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

low env_fs production #a09bb89ea96e9062 Filesystem access.
repo/packages/gateway/vitest.node.config.js:5
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

Reads environment variables or the 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/gladia

npm first-party
expand_more 4 low-confidence finding(s)
low env_fs test-only Excluded from app score #1e12a7de16e9e690 Filesystem access.
repo/packages/gladia/src/gladia-transcription-model.test.ts:13
const audioData = await readFile(path.join(__dirname, 'transcript-test.mp3'));

Reads environment variables or the filesystem — an inventory-level capability, 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 #5b1ec3c300c97dfa Filesystem access.
repo/packages/gladia/src/gladia-transcription-model.test.ts:18
  fs.readFileSync('src/__fixtures__/gladia-upload.json', 'utf8'),

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

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

low env_fs test-only Excluded from app score #a590a2ec18eac8b3 Filesystem access.
repo/packages/gladia/src/gladia-transcription-model.test.ts:21
  fs.readFileSync('src/__fixtures__/gladia-initiate.json', 'utf8'),

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

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

low env_fs test-only Excluded from app score #063e42aa252be8a1 Filesystem access.
repo/packages/gladia/src/gladia-transcription-model.test.ts:24
  fs.readFileSync('src/__fixtures__/gladia-result.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.

first-party (npm): packages/google

npm first-party
expand_more 48 low-confidence finding(s)
low egress test-only Excluded from app score #be146b338e49ca3d Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/convert-to-google-messages.test.ts:827
                    url: new URL('https://example.com/image.png'),

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 #5306d095778adedb Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/convert-to-google-messages.test.ts:866
                    url: new URL('https://example.com/report.pdf'),

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 #d08049016a9a2203 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/convert-to-google-messages.test.ts:1020
                      url: new URL('https://example.com/image.png'),

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 #735da066faa47e29 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/convert-to-google-messages.test.ts:1028
                      url: new URL('https://example.com/report.pdf'),

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 #fdc7008e0e33ccca Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/convert-to-google-messages.test.ts:1219
                url: new URL('https://example.com/image.png'),

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 #558346d9d0630f09 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/convert-to-google-messages.test.ts:1295
                url: new URL('https://example.com/image.png'),

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 #bba4e953287c124b Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/convert-to-google-messages.test.ts:2165
                url: new URL('https://example.com/x.png'),

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 test-only Excluded from app score #fc3964ecdf8d5645 Filesystem access.
repo/packages/google/src/google-language-model.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 #0e07bb7bc54af6ae Filesystem access.
repo/packages/google/src/google-language-model.test.ts:556
        fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #c3f247e0c58bed90 Filesystem access.
repo/packages/google/src/google-language-model.test.ts:4332
    const chunks = fs
      .readFileSync(`src/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the filesystem — 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 #39a4b45b1248ee7f Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:5
  const validUrl = new URL(
    'https://generativelanguage.googleapis.com/v1beta/files/00000000-00000000-00000000-00000000',
  );

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 #74348835bc37f3a5 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:10
  const simpleValidUrl = new URL(
    'https://generativelanguage.googleapis.com/v1beta/files/test123',
  );

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 #1e264f734e0569f1 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:18
    new URL('https://www.youtube.com/watch?v=dQw4w9WgXcQ'),

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 #cc988e7fc6bbf600 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:19
    new URL('https://youtube.com/watch?v=dQw4w9WgXcQ'),

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 #77fb2cfd86c6dd6a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:20
    new URL('https://youtu.be/dQw4w9WgXcQ'),

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 #9de8eb5858481670 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:21
    new URL('https://www.youtube.com/watch?v=dQw4w9WgXcQ&feature=youtu.be'),

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 #c87dfbfe7b1c7c50 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:22
    new URL('https://youtu.be/dQw4w9WgXcQ?t=42'),

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 #9b167aad4fd719af Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:32
    new URL('https://youtube.com/channel/UCdQw4w9WgXcQ'),

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 #a95b76289c612983 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:33
    new URL('https://youtube.com/playlist?list=PLdQw4w9WgXcQ'),

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 #8c665fd1efdf516a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:34
    new URL('https://m.youtube.com/watch?v=dQw4w9WgXcQ'),

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 #749728ed94918bba Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:35
    new URL('http://youtube.com/watch?v=dQw4w9WgXcQ'),

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 #e066ad2b2d62839f Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:36
    new URL('https://vimeo.com/123456789'),

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 #05eea4a30dda97e2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:46
    new URL('https://example.com'),

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

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

low egress test-only Excluded from app score #ab1f0d934c5b44ee Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:47
    new URL('https://example.com/foo/bar'),

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 #be56748a74f73e19 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:48
    new URL('https://generativelanguage.googleapis.com'),

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

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

low egress test-only Excluded from app score #4964db0c5d6d6be5 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:49
    new URL('https://generativelanguage.googleapis.com/v1/other'),

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 #2e572626664fd8b4 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:50
    new URL('http://generativelanguage.googleapis.com/v1beta/files/test'),

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 #e82f6ae8dc3284d1 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/google-supported-file-url.test.ts:51
    new URL('https://api.googleapis.com/v1beta/files/test'),

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 #fc0d2c07b5335bfc Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/interactions/build-google-interactions-stream-transform.test.ts:93
        data: { type: 'url', url: new URL('https://example.test/clip.mp4') },

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 #e310d27867da6b7a Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/google/src/interactions/cancel-google-interaction.ts:37
    const response = await fetch(url, {
      method: 'POST',
      headers: withUserAgentSuffix(
        combineHeaders({ 'Content-Type': 'application/json' }, headers),
        getRuntimeEnvironmentUserAgent(),
      ),
      body: '{}',
    });

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 #d115d738a8891d0e Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/interactions/convert-to-google-interactions-input.test.ts:137
                url: new URL('https://example.com/cat.png'),

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 #b2b335db4f819a9b Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/interactions/convert-to-google-interactions-input.test.ts:180
                url: new URL('https://example.com/cat.png'),

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 #1c96bd3eeeb1cabd Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/interactions/convert-to-google-interactions-input.test.ts:385
                url: new URL('https://example.com/paper.pdf'),

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 #4c0f87f683cb39f3 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/interactions/convert-to-google-interactions-input.test.ts:500
                url: new URL('https://www.youtube.com/watch?v=dQw4w9WgXcQ'),

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 #b618abc3add32732 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/interactions/convert-to-google-interactions-input.test.ts:542
                url: new URL('https://youtu.be/abc123'),

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 #6af1444dd5101a7e Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/interactions/convert-to-google-interactions-input.test.ts:994
                url: new URL('https://example.com/cat.png'),

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 test-only Excluded from app score #38e37e32a5a017df Filesystem access.
repo/packages/google/src/interactions/google-interactions-language-model.test.ts:38
        fs.readFileSync(
          `src/interactions/__fixtures__/${filename}.json`,
          'utf8',
        ),

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

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

low env_fs test-only Excluded from app score #e4328f6f9c4f91e5 Filesystem access.
repo/packages/google/src/interactions/google-interactions-language-model.test.ts:462
        fs.readFileSync('src/interactions/__fixtures__/basic.json', 'utf8'),

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

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

low env_fs test-only Excluded from app score #79d131501773459e Filesystem access.
repo/packages/google/src/interactions/google-interactions-language-model.test.ts:478
        fs.readFileSync('src/interactions/__fixtures__/basic.json', 'utf8'),

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

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

low env_fs test-only Excluded from app score #e524cd30577ca43b Filesystem access.
repo/packages/google/src/interactions/google-interactions-language-model.test.ts:498
        fs.readFileSync('src/interactions/__fixtures__/basic.json', 'utf8'),

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

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

low env_fs test-only Excluded from app score #52609c0b3d6de443 Filesystem access.
repo/packages/google/src/interactions/google-interactions-language-model.test.ts:517
        fs.readFileSync('src/interactions/__fixtures__/basic.json', 'utf8'),

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

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

low egress test-only Excluded from app score #400d553eaea7da13 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/interactions/google-interactions-language-model.test.ts:2105
        data: { type: 'url', url: new URL('https://example.com/img.png') },

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 #8cb9018317dbf44f Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google/src/interactions/google-interactions-language-model.test.ts:2163
        data: { type: 'url', url: new URL('https://example.com/clip.mp4') },

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 test-only Excluded from app score #4c9784ca2171a5a2 Filesystem access.
repo/packages/google/src/interactions/google-interactions-language-model.test.ts:2216
    const chunks = fs
      .readFileSync(
        `src/interactions/__fixtures__/${filename}.chunks.txt`,
        'utf8',
      )

Reads environment variables or the filesystem — an inventory-level capability, 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 #81f38892fc16ccf4 Filesystem access.
repo/packages/google/src/interactions/google-interactions-language-model.test.ts:2374
      return fs
        .readFileSync(
          `src/interactions/__fixtures__/${filename}.chunks.txt`,
          'utf8',
        )

Reads environment variables or the filesystem — an inventory-level capability, 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 #cb65942b4004a31d Filesystem access.
repo/packages/google/src/interactions/google-interactions-language-model.test.ts:3025
          fs.readFileSync(
            `src/interactions/__fixtures__/${filename}.json`,
            'utf8',
          ),

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

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

low env_fs production #4baa12324304c3fc Filesystem access.
repo/packages/google/vitest.edge.config.js:4
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

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

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

low env_fs production #129d93817e8fda2f Filesystem access.
repo/packages/google/vitest.node.config.js:4
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

Reads environment variables or the 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/google-vertex

npm first-party
expand_more 42 low-confidence finding(s)
low env_fs test-only Excluded from app score #2d064235c36d79ba Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:143
    process.env.GOOGLE_CLIENT_EMAIL = mockCredentials.clientEmail;

Reads environment variables or the filesystem — an inventory-level capability, 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 #feabe7573ca72fbc Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:144
    process.env.GOOGLE_PRIVATE_KEY = mockCredentials.privateKey;

Reads environment variables or the filesystem — an inventory-level capability, 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 #d519a6efdcfa6ff7 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:145
    process.env.GOOGLE_PRIVATE_KEY_ID = mockCredentials.privateKeyId;

Reads environment variables or the filesystem — an inventory-level capability, 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 #5fe1bad65d594e87 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:158
    delete process.env.GOOGLE_CLIENT_EMAIL;

Reads environment variables or the filesystem — an inventory-level capability, 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 #d02516f55f23e8d0 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:159
    delete process.env.GOOGLE_PRIVATE_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #2c333241e51754b2 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:160
    delete process.env.GOOGLE_PRIVATE_KEY_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 test-only Excluded from app score #d5865e9651e33f43 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:164
    delete process.env.GOOGLE_CLIENT_EMAIL;

Reads environment variables or the filesystem — an inventory-level capability, 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 #b219fe48a697f2de Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:165
    process.env.GOOGLE_PRIVATE_KEY = mockCredentials.privateKey;

Reads environment variables or the filesystem — an inventory-level capability, 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 #fa00f7c6e5f7917d Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:166
    process.env.GOOGLE_PRIVATE_KEY_ID = mockCredentials.privateKeyId;

Reads environment variables or the filesystem — an inventory-level capability, 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 #b0965cd85c1045c7 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:173
    delete process.env.GOOGLE_PRIVATE_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #91749416d143b59c Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:174
    delete process.env.GOOGLE_PRIVATE_KEY_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 test-only Excluded from app score #88e47b150145150c Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:178
    process.env.GOOGLE_CLIENT_EMAIL = mockCredentials.clientEmail;

Reads environment variables or the filesystem — an inventory-level capability, 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 #49ca81976ffd8498 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:179
    delete process.env.GOOGLE_PRIVATE_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #3b6ee4dad2c9d5de Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:180
    process.env.GOOGLE_PRIVATE_KEY_ID = mockCredentials.privateKeyId;

Reads environment variables or the filesystem — an inventory-level capability, 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 #6cf81b982fff3662 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:187
    delete process.env.GOOGLE_CLIENT_EMAIL;

Reads environment variables or the filesystem — an inventory-level capability, 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 #e19ef2e68ff25998 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:188
    delete process.env.GOOGLE_PRIVATE_KEY_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 test-only Excluded from app score #116d044805928ac1 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:193
    process.env.GOOGLE_CLIENT_EMAIL = mockCredentials.clientEmail;

Reads environment variables or the filesystem — an inventory-level capability, 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 #037770f85cd66586 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:194
    process.env.GOOGLE_PRIVATE_KEY = mockCredentials.privateKey;

Reads environment variables or the filesystem — an inventory-level capability, 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 #40dcdc397e9b259b Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:195
    process.env.GOOGLE_PRIVATE_KEY_ID = mockCredentials.privateKeyId;

Reads environment variables or the filesystem — an inventory-level capability, 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 #095ac02ed00f0e23 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:207
    delete process.env.GOOGLE_PRIVATE_KEY_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 test-only Excluded from app score #17ec25a72cc4eb5a Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:213
    delete process.env.GOOGLE_CLIENT_EMAIL;

Reads environment variables or the filesystem — an inventory-level capability, 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 #33561168398573b5 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:214
    delete process.env.GOOGLE_PRIVATE_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #ee93dd1b17a469c9 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:218
    process.env.GOOGLE_CLIENT_EMAIL = mockCredentials.clientEmail;

Reads environment variables or the filesystem — an inventory-level capability, 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 #5b77abfde2ecaded Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:219
    process.env.GOOGLE_PRIVATE_KEY = mockCredentials.privateKey.replace(

Reads environment variables or the filesystem — an inventory-level capability, 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 #da2cdf0e6cf0ce60 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:223
    process.env.GOOGLE_PRIVATE_KEY_ID = mockCredentials.privateKeyId;

Reads environment variables or the filesystem — an inventory-level capability, 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 #3e5d231fd62aedf3 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:235
    delete process.env.GOOGLE_CLIENT_EMAIL;

Reads environment variables or the filesystem — an inventory-level capability, 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 #b29d1cf39aa902d3 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:236
    delete process.env.GOOGLE_PRIVATE_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #697ef5636b555dec Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.test.ts:237
    delete process.env.GOOGLE_PRIVATE_KEY_ID;

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

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

low egress production #84b2505e64c5b0e4 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/google-vertex/src/edge/google-vertex-auth-edge.ts:139
    const response = await fetch('https://oauth2.googleapis.com/token', {
      method: 'POST',
      headers: withUserAgentSuffix(
        { 'Content-Type': 'application/x-www-form-urlencoded' },
        `ai-sdk/google-vertex/${VERSION}`,
        getRuntimeEnvironmentUserAgent(),
      ),
      body: new URLSearchParams({
        grant_type: 'urn:ietf:params:oauth:grant-type:jwt-bearer',
        assertion: jwt,
      }),
    });

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

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

low env_fs test-only Excluded from app score #92d39448fe42dd57 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-provider-edge.test.ts:21
    delete process.env.GOOGLE_VERTEX_API_KEY;

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

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

low env_fs test-only Excluded from app score #b05573ffe52f1ea6 Environment-variable access.
repo/packages/google-vertex/src/edge/google-vertex-provider-edge.test.ts:25
    delete process.env.GOOGLE_VERTEX_API_KEY;

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

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

low env_fs test-only Excluded from app score #6f6975d0b9bed830 Filesystem access.
repo/packages/google-vertex/src/google-vertex-embedding-model.test.ts:37
      fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #65ff69ed051af30c Filesystem access.
repo/packages/google-vertex/src/google-vertex-embedding-model.test.ts:348
        fs.readFileSync(
          'src/__fixtures__/google-vertex-embedding.json',
          'utf8',
        ),

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

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

low env_fs test-only Excluded from app score #b37ef0ae3e4caf74 Filesystem access.
repo/packages/google-vertex/src/google-vertex-embedding-model.test.ts:397
      fs.readFileSync('src/__fixtures__/google-vertex-embedding.json', 'utf8'),

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

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

low env_fs test-only Excluded from app score #623ef154d5a27d3c Filesystem access.
repo/packages/google-vertex/src/google-vertex-image-model.test.ts:52
      fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #ba0f9ee6566330e5 Environment-variable access.
repo/packages/google-vertex/src/google-vertex-provider-base.test.ts:26
          process.env.GOOGLE_VERTEX_API_KEY

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

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

low env_fs test-only Excluded from app score #c3ef35c8f28c84dd Environment-variable access.
repo/packages/google-vertex/src/google-vertex-provider-base.test.ts:28
          return process.env.GOOGLE_VERTEX_API_KEY;

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

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

low env_fs test-only Excluded from app score #65275942549bd25a Environment-variable access.
repo/packages/google-vertex/src/google-vertex-provider-base.test.ts:73
    delete process.env.GOOGLE_VERTEX_API_KEY;

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

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

low env_fs test-only Excluded from app score #97186dee68318e90 Environment-variable access.
repo/packages/google-vertex/src/google-vertex-provider-base.test.ts:77
    delete process.env.GOOGLE_VERTEX_API_KEY;

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

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

low env_fs test-only Excluded from app score #2b6b8cff80432cf4 Environment-variable access.
repo/packages/google-vertex/src/google-vertex-provider-base.test.ts:121
    process.env.GOOGLE_VERTEX_API_KEY = 'test-api-key';

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

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

low env_fs test-only Excluded from app score #be39d15d3f650b25 Environment-variable access.
repo/packages/google-vertex/src/google-vertex-provider.test.ts:23
    delete process.env.GOOGLE_VERTEX_API_KEY;

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

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

low env_fs test-only Excluded from app score #ae3872afafc8033c Environment-variable access.
repo/packages/google-vertex/src/google-vertex-provider.test.ts:27
    delete process.env.GOOGLE_VERTEX_API_KEY;

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

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

first-party (npm): packages/groq

npm first-party
expand_more 4 low-confidence finding(s)
low egress test-only Excluded from app score #8f732148e03bb184 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/groq/src/convert-to-groq-chat-messages.test.ts:282
              url: new URL('https://example.com/x.png'),

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 test-only Excluded from app score #a2e45bc8ed040f60 Filesystem access.
repo/packages/groq/src/groq-chat-language-model.test.ts:34
        fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #e2d990da9ffd8a1a Filesystem access.
repo/packages/groq/src/groq-chat-language-model.test.ts:1006
    const chunks = fs
      .readFileSync(`src/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the filesystem — an inventory-level capability, 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 #3a46d1d5d19bebfe Filesystem access.
repo/packages/groq/src/groq-transcription-model.test.ts:12
const audioData = await readFile(path.join(__dirname, 'transcript-test.mp3'));

Reads environment variables or the 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/harness

npm first-party
expand_more 14 low-confidence finding(s)
low env_fs test-only Excluded from app score #1d3955c311f5f1c3 Filesystem access.
repo/packages/harness/src/agent/observability/file-reporter.test.ts:13
  const text = readFileSync(join(dir, 'events.jsonl'), 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, 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 #efca18f78f8586c3 Environment-variable access.
repo/packages/harness/src/bridge/disk-replay.integration.test.ts:38
  delete process.env.BRIDGE_REPLAY_FROM_DISK;

Reads environment variables or the filesystem — an inventory-level capability, 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 #6b790213102b886e Environment-variable access.
repo/packages/harness/src/bridge/disk-replay.integration.test.ts:63
    const bridgeStateDir = `${process.env.TMPDIR ?? '/tmp'}/harness-replay-${Math.floor(performance.now())}`;

Reads environment variables or the filesystem — an inventory-level capability, 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 #20ad355612884820 Filesystem access.
repo/packages/harness/src/bridge/disk-replay.integration.test.ts:101
          readFileSync(eventLogPath, 'utf8').split('\n').filter(Boolean)

Reads environment variables or the filesystem — an inventory-level capability, 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 #7b2bb3209b4f3336 Environment-variable access.
repo/packages/harness/src/bridge/disk-replay.integration.test.ts:113
    process.env.BRIDGE_REPLAY_FROM_DISK = '1';

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

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

low env_fs test-only Excluded from app score #d04178fd2d455c54 Environment-variable access.
repo/packages/harness/src/bridge/index.test.ts:19
    bridgeStateDir: `${process.env.TMPDIR ?? '/tmp'}/harness-bridge-test-${Math.floor(performance.now())}`,

Reads environment variables or the filesystem — an inventory-level capability, 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 #7f091289ad784b9c Environment-variable access.
repo/packages/harness/src/bridge/index.test.ts:87
        bridgeStateDir: `${process.env.TMPDIR ?? '/tmp'}/harness-bridge-port-conflict`,

Reads environment variables or the filesystem — an inventory-level capability, 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 #9730ffd5b0dc6068 Environment-variable access.
repo/packages/harness/src/bridge/index.test.ts:392
      bridgeStateDir: `${process.env.TMPDIR ?? '/tmp'}/harness-bridge-detach`,

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

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

low env_fs production #77eab798410e9d69 Filesystem access.
repo/packages/harness/src/bridge/index.ts:319
      const lines = readFileSync(eventLogPath, 'utf8')

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

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

low env_fs production #66beda5fbdfc018d Filesystem access.
repo/packages/harness/src/bridge/index.ts:348
      await writeFile(
        bridgeMetaPath,
        JSON.stringify({
          type: bridgeType,
          port: currentBoundPort,
          state,
          pid,
        }),
      );

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

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

low env_fs production #ce5d0a8415d30d8b Filesystem access.
repo/packages/harness/src/bridge/index.ts:365
      await writeFile(startConfigPath, serialized);

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

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

low env_fs production #872e613d0cf843d7 Filesystem access.
repo/packages/harness/src/bridge/index.ts:369
        await writeFile(rerunStartConfigPath, serialized);

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

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

low env_fs production #f160cbefe12f01dc Filesystem access.
repo/packages/harness/src/bridge/index.ts:537
        void writeFile(eventLogPath, '').catch(() => {});

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

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

low env_fs test-only Excluded from app score #54c8bf8fba0a76fb Environment-variable access.
repo/packages/harness/src/bridge/reconnect.integration.test.ts:44
    bridgeStateDir: `${process.env.TMPDIR ?? '/tmp'}/harness-reconnect-${Math.floor(performance.now())}`,

Reads environment variables or the 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/harness-claude-code

npm first-party
expand_more 3 low-confidence finding(s)
low env_fs production #42e763a0522798f5 Filesystem access.
repo/packages/harness-claude-code/src/claude-code-auth.ts:100
    raw = readFileSync(join(home, '.claude', 'settings.json'), 'utf8');

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

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

low env_fs test-only Excluded from app score #0c13e78feb856eb7 Filesystem access.
repo/packages/harness-claude-code/src/claude-code-harness.test.ts:45
      return (actual.readFile as any)(input, ...rest);

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

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

low env_fs production #48e0a6990efadabc Filesystem access.
repo/packages/harness-claude-code/src/claude-code-harness.ts:783
      return await readFile(fileURLToPath(url), 'utf8');

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

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

first-party (npm): packages/harness-codex

npm first-party
expand_more 8 low-confidence finding(s)
low env_fs test-only Excluded from app score #a26bd5a17e7852b7 Environment-variable access.
repo/packages/harness-codex/src/bridge/index.test.ts:74
      CODEX_ENV_KEYS.map(key => [key, process.env[key]]),

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

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

low env_fs test-only Excluded from app score #269c2ec7d5ac7640 Environment-variable access.
repo/packages/harness-codex/src/bridge/index.test.ts:77
      delete process.env[key];

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

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

low env_fs test-only Excluded from app score #62ba6b23e540c235 Environment-variable access.
repo/packages/harness-codex/src/bridge/index.test.ts:98
        delete process.env[key];

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

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

low env_fs test-only Excluded from app score #0a50c5cbdf4f8a77 Environment-variable access.
repo/packages/harness-codex/src/bridge/index.test.ts:100
        process.env[key] = value;

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

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

low env_fs production #7746671e617e7fab Filesystem access.
repo/packages/harness-codex/src/bridge/index.ts:132
    await writeFile(
      cliShimPath,
      buildCliShimScript({ relayPort: relay.port }),
      'utf8',
    );

Reads environment variables or the filesystem — 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 #2087431d854bc275 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/harness-codex/src/bridge/tool-relay.test.ts:53
      const response = await fetch(`http://127.0.0.1:${relay.port}`, {
        method: 'POST',
        headers: { 'Content-Type': 'application/json' },
        body: JSON.stringify({ requestId: 'authorized-call', ...call }),
      });

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 test-only Excluded from app score #3b933b11deb555fa Filesystem access.
repo/packages/harness-codex/src/codex-harness.test.ts:39
      return (actual.readFile as any)(input, ...rest);

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

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

low env_fs production #f93370ee36c993a0 Filesystem access.
repo/packages/harness-codex/src/codex-harness.ts:480
      return await readFile(fileURLToPath(url), 'utf8');

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

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

first-party (npm): packages/harness-deepagents

npm first-party
expand_more 2 low-confidence finding(s)
low env_fs test-only Excluded from app score #5222770ecb62bb00 Filesystem access.
repo/packages/harness-deepagents/src/deepagents-harness.test.ts:44
      return (actual.readFile as any)(input, ...rest);

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

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

low env_fs production #9a187a460cf3c66a Filesystem access.
repo/packages/harness-deepagents/src/deepagents-harness.ts:412
      return await readFile(fileURLToPath(url), 'utf8');

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

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

first-party (npm): packages/harness-opencode

npm first-party
expand_more 9 low-confidence finding(s)
low env_fs production #1252a28f15a71c9d Environment-variable access.
repo/packages/harness-opencode/src/bridge/host-tool-mcp.ts:33
const schemas: ToolSchema[] = JSON.parse(process.env.TOOL_SCHEMAS || '[]');

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

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

low env_fs production #13e64824edc05e48 Environment-variable access.
repo/packages/harness-opencode/src/bridge/host-tool-mcp.ts:34
const relayUrl = process.env.TOOL_RELAY_URL || '';

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

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

low egress production #17aa5973110b5e81 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/harness-opencode/src/bridge/host-tool-mcp.ts:54
        const res = await fetch(relayUrl, {
          method: 'POST',
          headers: {
            'Content-Type': 'application/json',
          },
          body: JSON.stringify({ requestId, toolName: schema.name, 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 #77360007063902d9 Environment-variable access.
repo/packages/harness-opencode/src/bridge/index.ts:122
mkdirSync(process.env.HOME ?? '/tmp/opencode-home', { recursive: true });

Reads environment variables or the filesystem — 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 #6c7417b452b2e37c Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/harness-opencode/src/bridge/index.ts:381
  if (!session?.get) return client.v2.session.get({ sessionID: sessionId });

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 #c7fe5b26a3e09069 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/harness-opencode/src/bridge/index.ts:382
  return session.get({ sessionID: sessionId });

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 #435a045ca9e60689 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/harness-opencode/src/bridge/tool-relay.test.ts:53
      const response = await fetch(`http://127.0.0.1:${relay.port}`, {
        method: 'POST',
        headers: { 'Content-Type': 'application/json' },
        body: JSON.stringify({ requestId: 'authorized-call', ...call }),
      });

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 test-only Excluded from app score #b65241449ef798dc Filesystem access.
repo/packages/harness-opencode/src/opencode-harness.test.ts:81
      return actual.readFile(...args);

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

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

low env_fs production #c60407aaaf5f666f Filesystem access.
repo/packages/harness-opencode/src/opencode-harness.ts:492
      return await readFile(fileURLToPath(url), 'utf8');

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

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

first-party (npm): packages/harness-pi

npm first-party
expand_more 36 low-confidence finding(s)
low env_fs test-only Excluded from app score #ea523f2114377577 Filesystem access.
repo/packages/harness-pi/src/pi-remote-ops.test.ts:159
    await env.ops.writeFile('src/new.ts', 'export {};');

Reads environment variables or the filesystem — an inventory-level capability, 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 #660a81b172c5ddfc Filesystem access.
repo/packages/harness-pi/src/pi-remote-ops.test.ts:175
    await ops.writeFile('a.txt', 'x');

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

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

low env_fs test-only Excluded from app score #6c416dd5590a67df Filesystem access.
repo/packages/harness-pi/src/pi-remote-ops.test.ts:193
    await ops.writeFile('a.txt', 'x');

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

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

low env_fs test-only Excluded from app score #7144cc3abc136df6 Filesystem access.
repo/packages/harness-pi/src/pi-remote-ops.test.ts:213
      env.ops.writeFile('repo-controlled-write-link', '{"owned":true}\n'),

Reads environment variables or the filesystem — an inventory-level capability, 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 #ccaa85cc1a1cf782 Filesystem access.
repo/packages/harness-pi/src/pi-resume-state.test.ts:156
    expect(readFileSync(hostPath!, 'utf8')).toBe('session data');

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

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

low env_fs test-only Excluded from app score #4f21f0f9858a7b92 Filesystem access.
repo/packages/harness-pi/src/pi-resume-state.test.ts:181
    writeFileSync(path.join(hostSessionDir, 'session.jsonl'), 'session data');

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

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

low env_fs test-only Excluded from app score #643cedb666f08fee Filesystem access.
repo/packages/harness-pi/src/pi-resume-state.test.ts:203
    writeFileSync(path.join(hostSessionDir, 'session.jsonl'), 'session data');

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

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

low env_fs production #32d8a3c76f9c3254 Filesystem access.
repo/packages/harness-pi/src/pi-resume-state.ts:94
  const content = await readFile(hostPath);

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

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

low env_fs production #22fb29b87be447c5 Filesystem access.
repo/packages/harness-pi/src/pi-resume-state.ts:138
  await writeFile(hostPath, bytes);

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

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

low env_fs production #35b5363da39cb191 Filesystem access.
repo/packages/harness-pi/src/pi-session.ts:1096
          await input.remoteOps.writeFile(params.file_path, params.content);

Reads environment variables or the filesystem — an inventory-level capability, 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 #355a95a1e6d0dd28 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-mirror.test.ts:85
      readFileSync(path.join(hostWorkDir, '.pi/skills/demo/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 #90d600373d919105 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-mirror.test.ts:87
    expect(readFileSync(path.join(hostWorkDir, 'AGENTS.md'), 'utf8')).toBe(

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

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

low env_fs test-only Excluded from app score #bcd31dae62cd5b28 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-mirror.test.ts:108
      readFileSync(
        path.join(hostWorkDir, '.agents/skills/demo/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 #286504f2ce5d75a8 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-mirror.test.ts:139
    writeFileSync(
      path.join(hostWorkDir, 'node_modules', 'pkg', 'index.js'),
      'module.exports = {};',
    );

Reads environment variables or the filesystem — an inventory-level capability, 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 #807e6e628e271f9c Filesystem access.
repo/packages/harness-pi/src/pi-workspace-mirror.test.ts:143
    writeFileSync(path.join(hostWorkDir, 'index.ts'), 'export {};');

Reads environment variables or the filesystem — an inventory-level capability, 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 #c6f8c0c6ca85ae2f Filesystem access.
repo/packages/harness-pi/src/pi-workspace-mirror.test.ts:166
    writeFileSync(
      path.join(hostWorkDir, '.pi', 'skills', 'old', 'SKILL.md'),
      'stale',
    );

Reads environment variables or the filesystem — an inventory-level capability, 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 #1b69ed34117cfac8 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-mirror.test.ts:185
      readFileSync(
        path.join(hostWorkDir, '.pi', 'skills', 'new', '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 #4db60b58382b5a59 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-mirror.test.ts:193
    writeFileSync(path.join(hostWorkDir, 'AGENTS.md'), '# Same');

Reads environment variables or the filesystem — an inventory-level capability, 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 #36d2d3fd81b3f0d7 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-mirror.test.ts:203
    expect(readFileSync(path.join(hostWorkDir, 'AGENTS.md'), 'utf8')).toBe(

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

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

low env_fs production #06e211f0531a04a2 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-mirror.ts:254
      const existing = await readFile(hostPath);

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

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

low env_fs production #6380b0b5c1178841 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-mirror.ts:262
      await writeFile(hostPath, content);

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

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

low env_fs production #2587abf4e6768512 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-mirror.ts:275
  await writeFile(hostPath, content);

Reads environment variables or the filesystem — an inventory-level capability, 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 #87a962f7c57f2219 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:31
    writeFileSync(path.join(mountPoint, 'hello.txt'), 'hi');

Reads environment variables or the filesystem — an inventory-level capability, 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 #08c09ec801ef69bf Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:32
    expect(readFileSync(path.join(backingRoot, 'hello.txt'), 'utf8')).toBe(

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

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

low env_fs test-only Excluded from app score #9bca9612543ab886 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:39
    writeFileSync(path.join(backingRoot, 'src.txt'), 'content');

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

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

low env_fs test-only Excluded from app score #d7a1990436e83ead Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:40
    expect(readFileSync(path.join(mountPoint, 'src.txt'), 'utf8')).toBe(

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

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

low env_fs test-only Excluded from app score #5e1aee2b4b704ddd Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:48
    writeFileSync(path.join(backingRoot, 'real.txt'), 'x');

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

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

low env_fs test-only Excluded from app score #5d2ae90511e72df2 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:54
    await fsPromises.writeFile(path.join(mountPoint, 'async.txt'), 'async');

Reads environment variables or the filesystem — an inventory-level capability, 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 #84ae473859a48d10 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:55
    expect(readFileSync(path.join(backingRoot, 'async.txt'), 'utf8')).toBe(

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

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

low env_fs test-only Excluded from app score #14bbce512c4efa43 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:58
    const back = await fsPromises.readFile(
      path.join(mountPoint, 'async.txt'),
      'utf8',
    );

Reads environment variables or the filesystem — an inventory-level capability, 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 #8a68e0f2b270a186 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:71
    writeFileSync(tmpFile, 'real');

Reads environment variables or the filesystem — an inventory-level capability, 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 #08dadae933b95822 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:72
    expect(readFileSync(tmpFile, 'utf8')).toBe('real');

Reads environment variables or the filesystem — an inventory-level capability, 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 #c94312e72c9cbd2c Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:99
      writeFileSync(path.join(otherMount, 'inner.txt'), 'nested');

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

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

low env_fs test-only Excluded from app score #cbcb45df153afcfc Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:100
      expect(readFileSync(path.join(otherBacking, 'inner.txt'), 'utf8')).toBe(

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

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

low env_fs test-only Excluded from app score #1aecc05538c24637 Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:108
      writeFileSync(path.join(mountPoint, 'outer.txt'), 'outer');

Reads environment variables or the filesystem — an inventory-level capability, 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 #35a0303154dd449f Filesystem access.
repo/packages/harness-pi/src/pi-workspace-vfs.test.ts:109
      expect(readFileSync(path.join(backingRoot, 'outer.txt'), 'utf8')).toBe(

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

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

first-party (npm): packages/huggingface

npm first-party
expand_more 1 low-confidence finding(s)
low egress test-only Excluded from app score #78f321954b277759 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/huggingface/src/responses/huggingface-responses-language-model.test.ts:1633
                  url: new URL('https://example.com/x.png'),

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/langchain

npm first-party
expand_more 2 low-confidence finding(s)
low egress test-only Excluded from app score #781843548e2e1036 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/langchain/src/adapter.test.ts:1298
            image: new URL('https://example.com/image.png'),

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 #95cfe3c00cf7340f Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/langchain/src/utils.test.ts:318
        image: new URL('https://example.com/photo.png'),

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 25 low-confidence finding(s)
low egress test-only Excluded from app score #02d7f1e597e669af Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/tool/oauth.test.ts:49
      new URL(resourceUrl),

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

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

low egress test-only Excluded from app score #c237e3a46ce6daa9 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/tool/oauth.test.ts:529
      new URL('https://auth.example.com/tenant1'),

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 #6dfc3c50c96592e9 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/tool/oauth.test.ts:834
        resource: new URL('https://api.example.com/mcp-server'),

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

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

low egress test-only Excluded from app score #672d2392f33c96c6 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/tool/oauth.test.ts:975
        resource: new URL('https://mcp.example.com'),

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

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

low egress test-only Excluded from app score #d2365a7a079f77ee Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/tool/oauth.test.ts:1023
      resource: new URL('https://api.example.com/mcp-server'),

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

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

low egress test-only Excluded from app score #f107160261910bba Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/tool/oauth.test.ts:1163
      resource: new URL('https://api.example.com/mcp-server'),

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

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

low egress test-only Excluded from app score #bbdf04b467f60cbb Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/tool/oauth.test.ts:1203
      resource: new URL('https://mcp.example.com'),

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

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

low egress test-only Excluded from app score #000bd9db3cf26717 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/tool/oauth.test.ts:1276
      resource: new URL('https://api.example.com/mcp-server'),

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

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

low egress test-only Excluded from app score #98ac609bf9db421d Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/tool/oauth.test.ts:1426
      resource: new URL('https://mcp.example.com'),

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

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

low egress test-only Excluded from app score #395de4efe33b1b0f Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/tool/oauth.test.ts:1939
        resourceMetadataUrl: new URL(
          'https://evil.example/.well-known/oauth-protected-resource',
        ),

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 #a8df59f2f950b908 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/tool/oauth.test.ts:2142
      new URL('https://api.example.com/mcp-server'),

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

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

low egress test-only Excluded from app score #535377e5480635c2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/util/oauth.util.test.ts:8
        resourceUrlFromServerUrl(new URL('https://example.com/path#fragment'))

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

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

low egress test-only Excluded from app score #bca3c90356abca7b Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/util/oauth.util.test.ts:12
        resourceUrlFromServerUrl(new URL('https://example.com#fragment')).href,

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 #ef0935d25d135fc6 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/util/oauth.util.test.ts:16
          new URL('https://example.com/path?query=1#fragment'),

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

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

low egress test-only Excluded from app score #66c057c122dd867a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/util/oauth.util.test.ts:23
        resourceUrlFromServerUrl(new URL('https://example.com')).href,

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 #2bf0dffc226c194d Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/util/oauth.util.test.ts:26
        resourceUrlFromServerUrl(new URL('https://example.com/path')).href,

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 #13032cdf22081a3d Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/util/oauth.util.test.ts:29
        resourceUrlFromServerUrl(new URL('https://example.com/path?query=1'))

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 #ca1a40b587a424bb Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/util/oauth.util.test.ts:37
        resourceUrlFromServerUrl(new URL('https://EXAMPLE.COM/PATH')).href,

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 #f2382b94793fef44 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/util/oauth.util.test.ts:41
        resourceUrlFromServerUrl(new URL('https://example.com:443/path')).href,

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 #9a8c761cfb6dd678 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/util/oauth.util.test.ts:44
        resourceUrlFromServerUrl(new URL('https://example.com:8080/path')).href,

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 #723f049a6fa7806d Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/util/oauth.util.test.ts:48
        resourceUrlFromServerUrl(new URL('https://example.com?foo=bar&baz=qux'))

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 #6936025d4cae55ed Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/util/oauth.util.test.ts:53
        resourceUrlFromServerUrl(new URL('https://example.com/')).href,

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 #6d376fa935978db9 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mcp/src/util/oauth.util.test.ts:56
        resourceUrlFromServerUrl(new URL('https://example.com/path/')).href,

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 #22f453cf3976624c Filesystem access.
repo/packages/mcp/vitest.edge.config.js:4
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

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

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

low env_fs production #418bec2d88f4580e Filesystem access.
repo/packages/mcp/vitest.node.config.js:4
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

Reads environment variables or the 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/mistral

npm first-party
expand_more 4 low-confidence finding(s)
low egress test-only Excluded from app score #c36ae67475972f5a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mistral/src/convert-to-mistral-chat-messages.test.ts:67
              url: new URL('https://example.com/document.pdf'),

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 #a50e23b83f32ccf5 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/mistral/src/convert-to-mistral-chat-messages.test.ts:431
                url: new URL('https://example.com/x.pdf'),

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 test-only Excluded from app score #cdc6d5928f0f197b Filesystem access.
repo/packages/mistral/src/mistral-chat-language-model.test.ts:40
        fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #7a177f30d0602514 Filesystem access.
repo/packages/mistral/src/mistral-chat-language-model.test.ts:872
    const chunks = fs
      .readFileSync(`src/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the 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/open-responses

npm first-party
expand_more 8 low-confidence finding(s)
low egress test-only Excluded from app score #3df0a7f9de19692e Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/open-responses/src/responses/convert-to-open-responses-input.test.ts:168
                  url: new URL('https://example.com/image.png'),

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 #35a1e63aad56cb2e Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/open-responses/src/responses/convert-to-open-responses-input.test.ts:242
                  url: new URL('https://example.com/document.pdf'),

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 #b7150cd78a2f9f85 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/open-responses/src/responses/convert-to-open-responses-input.test.ts:690
                        url: new URL('https://example.com/image.png'),

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 #ae8ab12ac69f83d2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/open-responses/src/responses/convert-to-open-responses-input.test.ts:1043
                  url: new URL('https://example.com/x.png'),

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 test-only Excluded from app score #32bb66ae9dfb6cbf Filesystem access.
repo/packages/open-responses/src/responses/open-responses-language-model.test.ts:40
          fs.readFileSync(
            `src/responses/__fixtures__/${filename}.json`,
            'utf8',
          ),

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

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

low env_fs test-only Excluded from app score #7e3294e843f4bfb5 Filesystem access.
repo/packages/open-responses/src/responses/open-responses-language-model.test.ts:693
      const chunks = fs
        .readFileSync(
          `src/responses/__fixtures__/${filename}.chunks.txt`,
          'utf8',
        )

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

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

low env_fs production #ae3241beed101ba1 Filesystem access.
repo/packages/open-responses/vitest.edge.config.js:4
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

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

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

low env_fs production #d6b2af8039fa2157 Filesystem access.
repo/packages/open-responses/vitest.node.config.js:4
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

Reads environment variables or the 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/openai

npm first-party
expand_more 34 low-confidence finding(s)
low egress test-only Excluded from app score #078547e06ba7a88c Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/chat/convert-to-openai-chat-messages.test.ts:94
                url: new URL('https://example.com/image.png'),

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 #db89ba8691bd6fc1 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/chat/convert-to-openai-chat-messages.test.ts:284
                    url: new URL('https://example.com/foo.wav'),

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 #aef877958e28168a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/chat/convert-to-openai-chat-messages.test.ts:615
                    url: new URL('https://example.com/document.pdf'),

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 #0b175ec3cebb2fb5 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/chat/convert-to-openai-chat-messages.test.ts:688
                    url: new URL('https://example.com/x.png'),

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 #1ca1a25bd9b70cba Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/chat/convert-to-openai-chat-messages.test.ts:716
                      url: new URL('https://example.com/x.pdf'),

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 test-only Excluded from app score #a72199e4565c7501 Filesystem access.
repo/packages/openai/src/chat/openai-chat-language-model.test.ts:123
  const chunks = fs
    .readFileSync(`src/chat/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the filesystem — an inventory-level capability, 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 #f2fb5991d4ed5f7f Filesystem access.
repo/packages/openai/src/chat/openai-chat-language-model.test.ts:140
      fs.readFileSync(`src/chat/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #aef8b1ce97ac5d72 Filesystem access.
repo/packages/openai/src/completion/openai-completion-language-model.test.ts:58
      fs.readFileSync(`src/completion/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #f31d3de44948bfd8 Filesystem access.
repo/packages/openai/src/completion/openai-completion-language-model.test.ts:64
  const chunks = fs
    .readFileSync(`src/completion/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the filesystem — an inventory-level capability, 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 #766d8f3351269918 Filesystem access.
repo/packages/openai/src/embedding/openai-embedding-model.test.ts:28
      fs.readFileSync(`src/embedding/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #46afdd15e4b61879 Filesystem access.
repo/packages/openai/src/image/openai-image-model.test.ts:30
      fs.readFileSync(`src/image/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #5b2eee7f633aef09 Filesystem access.
repo/packages/openai/src/image/openai-image-model.test.ts:43
      fs.readFileSync(`src/image/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #219595e79afe6a0e Environment-variable access.
repo/packages/openai/src/openai-provider.test.ts:34
    const originalBaseUrl = process.env.OPENAI_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 test-only Excluded from app score #74d8fd8487aed773 Environment-variable access.
repo/packages/openai/src/openai-provider.test.ts:41
      process.env.OPENAI_BASE_URL = originalBaseUrl;

Reads environment variables or the filesystem — an inventory-level capability, 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 #4b62895f0fca8285 Environment-variable access.
repo/packages/openai/src/openai-provider.test.ts:45
      delete process.env.OPENAI_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 test-only Excluded from app score #1460783fb2a0a8fe Environment-variable access.
repo/packages/openai/src/openai-provider.test.ts:63
      process.env.OPENAI_BASE_URL = 'https://proxy.openai.example/v1/';

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

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

low env_fs test-only Excluded from app score #2b4ea57e595487b5 Environment-variable access.
repo/packages/openai/src/openai-provider.test.ts:81
      process.env.OPENAI_BASE_URL = 'https://env.openai.example/v1';

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

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

low env_fs test-only Excluded from app score #2ddf7db1551bdbd5 Environment-variable access.
repo/packages/openai/src/openai-provider.test.ts:115
      process.env.OPENAI_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 egress test-only Excluded from app score #4357bcbbfed8ff2e Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/responses/convert-to-openai-responses-input.test.ts:117
                  url: new URL('https://example.com/image.png'),

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 #4ea57710ce0091ea Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/responses/convert-to-openai-responses-input.test.ts:176
                  url: new URL('https://example.com/image.jpg'),

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

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

low egress test-only Excluded from app score #cd74382db82fc9d7 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/responses/convert-to-openai-responses-input.test.ts:417
                  url: new URL('https://example.com/x.png'),

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 #046900419650428f Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/responses/convert-to-openai-responses-input.test.ts:739
                  url: new URL('https://example.com/document.pdf'),

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 #587e06adbd0d4439 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/responses/convert-to-openai-responses-input.test.ts:2969
                        url: new URL('https://example.com/x.png'),

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 #9351495aa34da090 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/responses/convert-to-openai-responses-input.test.ts:3021
                        url: new URL('https://example.com/screenshot.png'),

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 #f0183ab1d546f7f0 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/responses/convert-to-openai-responses-input.test.ts:3120
                        url: new URL('https://example.com/document.pdf'),

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 #63c99ec7575e1534 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/responses/convert-to-openai-responses-input.test.ts:3174
                        url: new URL('https://example.com/test.pdf'),

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 #cc225151ed0500e6 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai/src/responses/convert-to-openai-responses-input.test.ts:5492
                        url: new URL('https://example.com/test.pdf'),

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 test-only Excluded from app score #74f74f4390277bf1 Filesystem access.
repo/packages/openai/src/responses/openai-responses-language-model.test.ts:223
        fs.readFileSync(`src/responses/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #46319f4659532fb0 Filesystem access.
repo/packages/openai/src/responses/openai-responses-language-model.test.ts:230
    const chunks = fs
      .readFileSync(`src/responses/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the filesystem — an inventory-level capability, 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 #d9746d714eeb29af Filesystem access.
repo/packages/openai/src/skills/openai-skills.test.ts:34
      fs.readFileSync(`src/skills/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #5028bdea231b7af1 Filesystem access.
repo/packages/openai/src/transcription/openai-transcription-model.test.ts:19
const audioData = await readFile(
  path.join(__dirname, 'transcription-test.mp3'),
);

Reads environment variables or the filesystem — an inventory-level capability, 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 #c40fba903f5280b8 Filesystem access.
repo/packages/openai/src/transcription/openai-transcription-model.test.ts:70
      fs.readFileSync(
        `src/transcription/__fixtures__/${filename}.json`,
        'utf8',
      ),

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

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

low env_fs production #f4a27d737fdd39a3 Filesystem access.
repo/packages/openai/vitest.edge.config.js:4
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

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

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

low env_fs production #10858d39de779675 Filesystem access.
repo/packages/openai/vitest.node.config.js:4
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

Reads environment variables or the 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/openai-compatible

npm first-party
expand_more 11 low-confidence finding(s)
low egress test-only Excluded from app score #07bebb37bd74edbc Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai-compatible/src/chat/convert-to-openai-compatible-chat-messages.test.ts:86
              url: new URL('https://example.com/image.jpg'),

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

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

low egress test-only Excluded from app score #a44e8f3b4920664e Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai-compatible/src/chat/convert-to-openai-compatible-chat-messages.test.ts:203
                url: new URL('https://example.com/audio.wav'),

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 #8ba25585ae2cf571 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai-compatible/src/chat/convert-to-openai-compatible-chat-messages.test.ts:309
                url: new URL('https://example.com/document.pdf'),

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 #cf93bdf8e40f992f Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai-compatible/src/chat/convert-to-openai-compatible-chat-messages.test.ts:421
              url: new URL('https://example.com/readme.md'),

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 #3b604813ca2ca087 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai-compatible/src/chat/convert-to-openai-compatible-chat-messages.test.ts:726
    const imageUrl = new URL('https://example.com/image.jpg');

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

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

low egress test-only Excluded from app score #8e43238518c1501a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/openai-compatible/src/chat/convert-to-openai-compatible-chat-messages.test.ts:1402
              url: new URL('https://example.com/x.png'),

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 test-only Excluded from app score #8389ca49817fcdec Filesystem access.
repo/packages/openai-compatible/src/chat/openai-compatible-chat-language-model.test.ts:1
import fs from 'fs';

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

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

low env_fs test-only Excluded from app score #bcf0842bc56830c6 Filesystem access.
repo/packages/openai-compatible/src/chat/openai-compatible-chat-language-model.test.ts:35
      fs.readFileSync(`src/chat/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #4761a797e15ac849 Filesystem access.
repo/packages/openai-compatible/src/chat/openai-compatible-chat-language-model.test.ts:44
  const chunks = fs
    .readFileSync(`src/chat/__fixtures__/${filename}.chunks.txt`, 'utf8')

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

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

low env_fs production #e9f88f692fbddc76 Filesystem access.
repo/packages/openai-compatible/vitest.edge.config.js:5
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

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

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

low env_fs production #febde66f33a53c9c Filesystem access.
repo/packages/openai-compatible/vitest.node.config.js:5
  readFileSync(new URL('./package.json', import.meta.url), 'utf-8'),

Reads environment variables or the 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/otel

npm first-party
expand_more 3 low-confidence finding(s)
low egress test-only Excluded from app score #781df6fb3ba84182 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/otel/src/gen-ai-format-messages.test.ts:323
              url: new URL('https://example.com/image.png'),

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 #ee88585c9d13f74c Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/otel/src/stringify-for-telemetry.test.ts:82
              url: new URL('https://example.com/image.jpg'),

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

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

low egress test-only Excluded from app score #0a9fb580a99208e0 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/otel/src/stringify-for-telemetry.test.ts:113
              url: new URL('https://example.com/image.jpg'),

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

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

first-party (npm): packages/perplexity

npm first-party
expand_more 4 low-confidence finding(s)
low egress test-only Excluded from app score #a04a49feb8c4cb15 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/perplexity/src/convert-to-perplexity-messages.test.ts:162
                url: new URL('https://example.com/x.png'),

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 test-only Excluded from app score #8552200d9ea3c457 Filesystem access.
repo/packages/perplexity/src/perplexity-language-model.test.ts:44
        fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low egress test-only Excluded from app score #f95ae7213383cab8 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/perplexity/src/perplexity-language-model.test.ts:329
              url: new URL('https://example.com/test.pdf'),

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 test-only Excluded from app score #765cc2aa49e08128 Filesystem access.
repo/packages/perplexity/src/perplexity-language-model.test.ts:503
    const chunks = fs
      .readFileSync(`src/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the 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/provider-utils

npm first-party
expand_more 9 low-confidence finding(s)
low egress production #f327c6c7fe5a0130 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/provider-utils/src/fetch-with-validated-redirects.ts:109
    const response = await fetch(currentUrl, perHopInit('manual'));

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 #f669745ccab5773a Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/provider-utils/src/fetch-with-validated-redirects.ts:118
      return await fetch(currentUrl, perHopInit('follow'));

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 #68586925ebea0552 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/provider-utils/src/get-from-api.ts:89
      : await fetch(url, {
          method: 'GET',
          headers: requestHeaders,
          signal: abortSignal,
        });

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 #3d1ec26b7e8ff179 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/provider-utils/src/is-provider-reference.test.ts:34
    expect(isProviderReference(new URL('https://example.com/file'))).toBe(

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 #95ffe80ecb417837 Environment-variable access.
repo/packages/provider-utils/src/load-api-key.ts:30
  apiKey = process.env[environmentVariableName];

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

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

low env_fs production #5adad888cd620f63 Environment-variable access.
repo/packages/provider-utils/src/load-optional-setting.ts:23
  settingValue = process.env[environmentVariableName];

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

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

low env_fs production #c85197646bc27d58 Environment-variable access.
repo/packages/provider-utils/src/load-setting.ts:42
  settingValue = process.env[environmentVariableName];

Reads environment variables or the filesystem — 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 #9b7530f26eb4d697 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/packages/provider-utils/src/post-to-api.ts:98
    const response = await fetch(url, {
      method: 'POST',
      headers: withUserAgentSuffix(
        headers,
        `ai-sdk/provider-utils/${VERSION}`,
        getRuntimeEnvironmentUserAgent(),
      ),
      body: body.content,
      signal: abortSignal,
    });

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 #7344eea4d207ced2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/provider-utils/src/resolve-full-media-type.test.ts:56
      data: { type: 'url', url: new URL('https://example.com/x') },

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/revai

npm first-party
expand_more 4 low-confidence finding(s)
low env_fs test-only Excluded from app score #90cfd33ef0e5d597 Filesystem access.
repo/packages/revai/src/revai-transcription-model.test.ts:13
const audioData = await readFile(path.join(__dirname, 'transcript-test.mp3'));

Reads environment variables or the filesystem — an inventory-level capability, 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 #96b6fd3f2d566a29 Filesystem access.
repo/packages/revai/src/revai-transcription-model.test.ts:28
      fs.readFileSync(`src/__fixtures__/revai-job-submit.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #962d58d3f42559c1 Filesystem access.
repo/packages/revai/src/revai-transcription-model.test.ts:35
      fs.readFileSync(`src/__fixtures__/revai-job-status.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #99c0363e4dce837f Filesystem access.
repo/packages/revai/src/revai-transcription-model.test.ts:44
      fs.readFileSync(`src/__fixtures__/revai-transcript.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.

first-party (npm): packages/rsc

npm first-party
expand_more 5 low-confidence finding(s)
low env_fs test-only Excluded from app score #9857948466d50db1 Environment-variable access.
repo/packages/rsc/playwright.config.ts:2
const PORT = process.env.PORT || 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 test-only Excluded from app score #2bffc362274b2455 Environment-variable access.
repo/packages/rsc/playwright.config.ts:18
  reporter: 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 test-only Excluded from app score #2a88cd308ac12195 Environment-variable access.
repo/packages/rsc/scripts/run-e2e-ci.mjs:3
if (process.env.SKIP_RSC_E2E === '1') {

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

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

low env_fs production #0db901c52ab1223a Environment-variable access.
repo/packages/rsc/src/streamable-ui/create-streamable-ui.tsx:68
    if (process.env.NODE_ENV === 'development') {

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

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

low env_fs production #ad7ac989d6f45b0f Environment-variable access.
repo/packages/rsc/src/streamable-value/create-streamable-value.ts:148
    if (process.env.NODE_ENV === 'development') {

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

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

first-party (npm): packages/sandbox-just-bash

npm first-party
expand_more 4 low-confidence finding(s)
low env_fs test-only Excluded from app score #221719c5189ebceb Filesystem access.
repo/packages/sandbox-just-bash/src/just-bash-sandbox-session.test.ts:103
        await sandbox.readFile({ path: '/work/does-not-exist.txt' }),

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

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

low env_fs test-only Excluded from app score #3bada6755d577153 Filesystem access.
repo/packages/sandbox-just-bash/src/just-bash-sandbox-session.test.ts:120
      await sandbox.writeFile({
        path: '/work/streamed.txt',
        content: new ReadableStream<Uint8Array>({
          start(controller) {
            controller.enqueue(bytes);
            controller.close();
          },
        }),
      });

Reads environment variables or the filesystem — an inventory-level capability, 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 #8d7b32ca12b03c30 Filesystem access.
repo/packages/sandbox-just-bash/src/just-bash-sandbox-session.test.ts:130
      const stream = await sandbox.readFile({ path: '/work/streamed.txt' });

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

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

low env_fs production #7367b3501cc27f92 Filesystem access.
repo/packages/sandbox-just-bash/src/just-bash-sandbox-session.ts:168
    await this.sandbox.bashEnvInstance.fs.writeFile(resolved, content);

Reads environment variables or the 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/sandbox-vercel

npm first-party
expand_more 2 low-confidence finding(s)
low env_fs test-only Excluded from app score #7561f3450d78be9c Filesystem access.
repo/packages/sandbox-vercel/src/vercel-sandbox-session.test.ts:220
      await new VercelSandboxSession(sandbox).writeFile({
        path: '/work/streamed.txt',
        content: new ReadableStream<Uint8Array>({
          start(controller) {
            controller.enqueue(payload);
            controller.close();
          },
        }),
      });

Reads environment variables or the filesystem — an inventory-level capability, 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 #653129fc3565be66 Filesystem access.
repo/packages/sandbox-vercel/src/vercel-sandbox-session.test.ts:233
      const stream = await new VercelSandboxSession(sandbox).readFile({
        path: '/work/streamed.txt',
      });

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

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

first-party (npm): packages/togetherai

npm first-party
expand_more 9 low-confidence finding(s)
low env_fs test-only Excluded from app score #f83c8cdb40ab4bcb Filesystem access.
repo/packages/togetherai/src/reranking/togetherai-reranking-model.test.ts:19
        fs.readFileSync(`src/reranking/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #c730b421f1b0809a Environment-variable access.
repo/packages/togetherai/src/togetherai-provider.test.ts:72
    delete process.env.TOGETHER_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #abdff5433a86d2ca Environment-variable access.
repo/packages/togetherai/src/togetherai-provider.test.ts:73
    delete process.env.TOGETHER_AI_API_KEY;

Reads environment variables or the filesystem — an inventory-level capability, 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 #23480e6f18ce6cfc Environment-variable access.
repo/packages/togetherai/src/togetherai-provider.test.ts:119
      process.env.TOGETHER_AI_API_KEY = 'old-key';

Reads environment variables or the filesystem — an inventory-level capability, 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 #d48f4354045f7a67 Environment-variable access.
repo/packages/togetherai/src/togetherai-provider.test.ts:141
      process.env.TOGETHER_API_KEY = 'new-key';

Reads environment variables or the filesystem — an inventory-level capability, 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 #f7fa08eb9c15c113 Environment-variable access.
repo/packages/togetherai/src/togetherai-provider.test.ts:142
      process.env.TOGETHER_AI_API_KEY = 'old-key';

Reads environment variables or the filesystem — an inventory-level capability, 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 #a873f68cdc167be0 Environment-variable access.
repo/packages/togetherai/src/togetherai-provider.test.ts:162
      process.env.TOGETHER_AI_API_KEY = 'old-key';

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

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

low env_fs production #ae5319d96a582aba Environment-variable access.
repo/packages/togetherai/src/togetherai-provider.ts:105
  if (typeof process.env.TOGETHER_API_KEY === 'string') {

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

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

low env_fs production #ab94cdbe24781a81 Environment-variable access.
repo/packages/togetherai/src/togetherai-provider.ts:108
  const key = process.env.TOGETHER_AI_API_KEY;

Reads environment variables or the 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/voyage

npm first-party
expand_more 2 low-confidence finding(s)
low env_fs test-only Excluded from app score #0dc6e24ae104dbbf Filesystem access.
repo/packages/voyage/src/reranking/voyage-reranking-model.test.ts:22
        fs.readFileSync(`src/reranking/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #365b96acf0a1cf0e Filesystem access.
repo/packages/voyage/src/voyage-embedding-model.test.ts:27
      fs.readFileSync(`src/__fixtures__/${filename}.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.

first-party (npm): packages/xai

npm first-party
expand_more 11 low-confidence finding(s)
low egress test-only Excluded from app score #36bf7d092ffbd1e6 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/xai/src/convert-to-xai-chat-messages.test.ts:76
              url: new URL('https://example.com/image.jpg'),

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

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

low egress test-only Excluded from app score #51e845be95b5f095 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/xai/src/convert-to-xai-chat-messages.test.ts:384
                url: new URL('https://example.com/x.png'),

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 #e883a722792f724d Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/xai/src/responses/convert-to-xai-responses-input.test.ts:88
                  url: new URL('https://example.com/image.jpg'),

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

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

low egress test-only Excluded from app score #c635f643bd2c7f2a Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/xai/src/responses/convert-to-xai-responses-input.test.ts:167
                  url: new URL('https://example.com/document.pdf'),

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 #7d2d49f0475349e4 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/xai/src/responses/convert-to-xai-responses-input.test.ts:207
                  url: new URL('https://example.com/data.csv'),

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 #d87f25a757e460bb Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/xai/src/responses/convert-to-xai-responses-input.test.ts:446
                        url: new URL('https://example.com/image.png'),

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 #0ebbc2ae24b74400 Hardcoded external endpoint. Review what data is sent to this destination.
repo/packages/xai/src/responses/convert-to-xai-responses-input.test.ts:734
                  url: new URL('https://example.com/x.png'),

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 test-only Excluded from app score #36e0fdf0ace41593 Filesystem access.
repo/packages/xai/src/responses/xai-responses-language-model.test.ts:34
        fs.readFileSync(`src/responses/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #29ba751e8fce9c2a Filesystem access.
repo/packages/xai/src/responses/xai-responses-language-model.test.ts:40
    const chunks = fs
      .readFileSync(`src/responses/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the filesystem — an inventory-level capability, 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 #2681fdffeb7c15c9 Filesystem access.
repo/packages/xai/src/xai-chat-language-model.test.ts:38
      fs.readFileSync(`src/__fixtures__/${filename}.json`, 'utf8'),

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

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

low env_fs test-only Excluded from app score #12515fc1bba7b600 Filesystem access.
repo/packages/xai/src/xai-chat-language-model.test.ts:47
  const chunks = fs
    .readFileSync(`src/__fixtures__/${filename}.chunks.txt`, 'utf8')

Reads environment variables or the 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): tools/analyze-downloads

npm first-party
expand_more 4 low-confidence finding(s)
low egress production #b488f329223e1a70 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/tools/analyze-downloads/src/analyze-market.ts:155
      fetch(url, 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 egress production #6e5d39f0493f7a0a Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/tools/analyze-downloads/src/analyze-providers.ts:145
      fetch(url, 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 egress production #0775a60b19c8f152 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/tools/analyze-downloads/src/analyze-ui-frameworks.ts:121
      fetch(url, 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 egress production #c0f8f08cfcdb7bf9 Hardcoded external endpoint. Review what data is sent to this destination.
repo/tools/analyze-downloads/src/analyze-versions.ts:47
  const response = await fetch(`https://api.npmjs.org/versions/ai/last-week`);

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): tools/generate-llms-txt

npm first-party
expand_more 3 low-confidence finding(s)
low env_fs production #bb0a3a1c2bedf0f9 Filesystem access.
repo/tools/generate-llms-txt/src/generate-llms-txt.ts:3
import { readdir, 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 #36db2d254d8fc498 Filesystem access.
repo/tools/generate-llms-txt/src/generate-llms-txt.ts:76
      const content = await readFile(file, 'utf-8');

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

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

low env_fs production #065bef39cb6c36c0 Filesystem access.
repo/tools/generate-llms-txt/src/generate-llms-txt.ts:86
    await writeFile('llms.txt', fullContent);

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

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

</> Dependencies

hono

npm dependency
high pii_flow tooling Excluded from app score unknown #1794787c8b57cad1 User/PII-bearing data read from the environment or filesystem flows to an external network call. This is potential data exfiltration.
pkgs/npm/[email protected]__reposrc/runtime-tests/node/index.test.ts:236 · flow /tmp/closeopen-sl219vn4/pkgs/npm/[email protected]__reposrc/runtime-tests/node/index.test.ts:236 → /tmp/closeopen-sl219vn4/pkgs/npm/[email protected]__reposrc/runtime-tests/node/index.test.ts:236
    return fetch(`http://${serverInfo.address}:${serverInfo.port}/${c.req.param('file')}`)

User/PII-bearing data flows to an external sink — the classic data-exfiltration shape.

Fix: Confirm no user identifiers reach this sink; redact/hash before sending, or remove the flow.

expand_more 58 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #39308da2eb48e69c Filesystem access.
pkgs/npm/[email protected]__reposrc/benchmarks/http-server/benchmark.ts:90
  writeFileSync(join(TEMP_DIR, 'body.json'), '{"hello":"world"}')

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

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

low env_fs tooling Excluded from app score unknown #3d7544aeb0937b61 Filesystem access.
pkgs/npm/[email protected]__reposrc/benchmarks/http-server/benchmark.ts:125
  writeFileSync(appPath, getAppTemplate())

Reads environment variables or the filesystem — an inventory-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 #20665703f9ed24d7 Filesystem access.
pkgs/npm/[email protected]__reposrc/benchmarks/http-server/benchmark.ts:315
    writeFileSync(join(SCRIPT_DIR, 'benchmark-results.md'), markdownOutput)

Reads environment variables or the filesystem — an inventory-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 #07cb6e38d3312104 Filesystem access.
pkgs/npm/[email protected]__reposrc/perf-measures/type-check/scripts/generate-app.ts:22
writeFile(path.join(import.meta.dirname, '../generated/app.ts'), routes, (err) => {
  if (err) {
    throw err
  }
  console.log(`${count} routes have been written to app.ts`)
})

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

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

low env_fs tooling Excluded from app score unknown #45a6b76be9df8cb6 Environment-variable access.
pkgs/npm/[email protected]__reposrc/perf-measures/type-check/scripts/process-results.ts:9
  const tsImplLabel = process.env['BENCHMARK_TS_IMPL_LABEL']

Reads environment variables or the filesystem — an inventory-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 #1b3907a7f3ad2c18 Filesystem access.
pkgs/npm/[email protected]__reposrc/runtime-tests/bun/index.test.tsx:2
import fs from 'fs/promises'

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

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

low egress tooling Excluded from app score unknown #1720a3ccc9b31016 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/runtime-tests/bun/index.test.tsx:406
      const res = fetch(req).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 egress tooling Excluded from app score unknown #b50c72cf728d43fd 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/runtime-tests/bun/index.test.tsx:418
      const res = await fetch(`http://localhost:${server.port}/streamHello`)

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 #f63c3ffabf9df944 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/runtime-tests/bun/index.test.tsx:430
      const res = fetch(req).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 egress tooling Excluded from app score unknown #ebb293402dc2222d 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/runtime-tests/bun/index.test.tsx:442
      const res = await fetch(`http://localhost:${server.port}/streamSSEHello`)

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 #4250d31d5442405e 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/runtime-tests/deno/stream.test.ts:26
  const res = fetch(req).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 egress tooling Excluded from app score unknown #b683414c6247218e 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/runtime-tests/deno/stream.test.ts:55
  const res = await fetch(`http://localhost:${server.addr.port}/stream`)

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 #dd27b6317e61ce28 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/runtime-tests/deno/stream.test.ts:82
  const res = fetch(req).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 egress tooling Excluded from app score unknown #e75d0406fc8ef2e1 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/runtime-tests/deno/stream.test.ts:111
  const res = await fetch(`http://localhost:${server.addr.port}/stream`)

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 #94f07d3d0ef40ced 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/runtime-tests/node/index.test.ts:236
    return fetch(`http://${serverInfo.address}:${serverInfo.port}/${c.req.param('file')}`)

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 #a36586e3d5f95b48 Filesystem access.
pkgs/npm/[email protected]__reposrc/src/adapter/deno/ssg.ts:13
    await Deno.writeFile(path, uint8Data)

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

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

low env_fs dependency Excluded from app score #aa0df67c7f19c0fa Filesystem access.
pkgs/npm/[email protected]__reposrc/src/helper/ssg/ssg.ts:329
    await fsModule.writeFile(filePath, content)

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

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

low env_fs dependency Excluded from app score #d97bc53696c2ba2f Filesystem access.
pkgs/npm/[email protected]__reposrc/src/helper/ssg/ssg.ts:331
    await fsModule.writeFile(filePath, new Uint8Array(content))

Reads environment variables or the filesystem — 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 #04c072078aceca24 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:647
    let res = await app.request('http://www1.example.com/hello')

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 #ee923efb1ff5d892 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:652
    res = await app.request('http://www2.example.com/hello')

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 #1c449d73a270c088 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:657
    res = await app.request('http://www1.example.com/')

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

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

low egress tooling Excluded from app score unknown #01e2deacfb0f9126 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:662
    res = await app.request('http://www1.example.com/sub')

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 #3ae3c39c4ab7bb5b Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:667
    res = await app.request('http://www1.example.com/sub/foo')

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 #707e99dae1b172e5 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:689
    let res = await app.request('http://www1.example.com/hello', {
      headers: {
        host: 'www1.example.com',
      },
    })

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

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

low egress tooling Excluded from app score unknown #5a9b941dcec90943 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:698
    res = await app.request('http://www2.example.com/hello', {
      headers: {
        host: 'www2.example.com',
      },
    })

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

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

low egress tooling Excluded from app score unknown #5d98cfd5a4b15b80 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:707
    res = await app.request('http://www1.example.com/', {
      headers: {
        host: 'www1.example.com',
      },
    })

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

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

low egress tooling Excluded from app score unknown #b8c54a29dae77ff1 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:716
    res = await app.request('http://www1.example.com/sub', {
      headers: {
        host: 'www1.example.com',
      },
    })

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

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

low egress tooling Excluded from app score unknown #a1cd9c11a7828c41 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:725
    res = await app.request('http://www1.example.com/sub/foo', {
      headers: {
        host: 'www1.example.com',
      },
    })

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

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

low egress tooling Excluded from app score unknown #ce72bbf1f9688e5a Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1402
    const res = await app.request('https://example.com/redirect')

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 #e1381c5e56c4f123 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1434
      let res = await app.request('https://example.com/error')

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

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

low egress tooling Excluded from app score unknown #b7b32fe4c6c26fe5 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1439
      res = await app.request('https://example.com/error-middleware')

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 #faeab13053cd43fe Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1469
      let res = await app.request('https://example.com/error')

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

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

low egress tooling Excluded from app score unknown #0aadc3c281210d25 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1474
      res = await app.request('https://example.com/error-middleware')

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 #65954ae2eb577363 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1589
    const res = await app.request('https://example.com/handle-error-in-middleware')

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 #a20f7531873068ea Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1597
    const res = await app.request('https://example.com/handle-error-in-middleware-async')

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 #6f99c32e3372aabf Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1909
      const res = await app.request('https://example.com/sub/posts/123')

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 #cebacfedae440bee Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1916
      const res = await app.request('https://example.com/sub/ok?app-error=1')

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 #cbdf8ddd152917d9 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1922
      const res = await app.request('https://example.com/sub/error')

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

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

low egress tooling Excluded from app score unknown #5c4a5e9f5af73ed8 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1945
      const res = await app.request('https://example.com/sub/ok')

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 #9df35d2ffc032a12 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1950
      const res = await app.request('https://example.com/sub/error')

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

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

low egress tooling Excluded from app score unknown #5b3dfaf1da020514 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1983
      const res = await app.request('https://example.com/explicit-404')

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 #e87f703c3567770f Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1990
      const res = await app.request('https://example.com/sub/explicit-404')

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 #e186d214080bdec9 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:1997
      const res = await app.request('https://example.com/implicit-404')

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 #314784d2087c2c18 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/hono.test.ts:2004
      const res = await app.request('https://example.com/sub/implicit-404')

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 #f15880c3070c240b Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:234
        const res = await app.request(
          'https://example.com/form',
          buildSimplePostRequestData({ origin: 'https://example.com' })
        )

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

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

low egress tooling Excluded from app score unknown #26b453e76ed5bab5 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:242
        const res = await app.request(
          'https://example.jp/form',
          buildSimplePostRequestData({ origin: 'https://example.jp' })
        )

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 #0a1b79546c62be59 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:263
        let res = await app.request(
          'https://hono.example.com/form',
          buildSimplePostRequestData({ origin: 'https://hono.example.com' })
        )

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

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

low egress tooling Excluded from app score unknown #33613a54ccefb717 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:269
        res = await app.request(
          'https://example.com/form',
          buildSimplePostRequestData({ origin: 'https://example.com' })
        )

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

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

low egress tooling Excluded from app score unknown #35ee0ba3e7e8731e Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:277
        const res = await app.request(
          'http://example.jp/form',
          buildSimplePostRequestData({ origin: 'http://example.jp' })
        )

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 #220c5e26c3c789ca Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:298
        let res = await app.request(
          'https://hono.example.com/form',
          buildSimplePostRequestData({ origin: 'https://hono.example.com' })
        )

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

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

low egress tooling Excluded from app score unknown #0aa7c57a4298cce2 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:304
        res = await app.request(
          'https://example.com/form',
          buildSimplePostRequestData({ origin: 'https://example.com' })
        )

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

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

low egress tooling Excluded from app score unknown #b2fa2ca5c7f55d8c Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:312
        let res = await app.request(
          'http://honojs.hono.example.jp/form',
          buildSimplePostRequestData({ origin: 'http://example.jp' })
        )

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 #4b1df6456aec7306 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:319
        res = await app.request(
          'http://example.jp/form',
          buildSimplePostRequestData({ origin: 'http://example.jp' })
        )

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 #ccc7b3cdb55e017f Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:343
        let res = await app.request(
          'https://hono.example.com/form',
          buildSimplePostRequestData({ origin: 'https://hono.example.com' })
        )

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

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

low egress tooling Excluded from app score unknown #b7571aa116305d99 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:349
        res = await app.request(
          'https://example.com/form',
          buildSimplePostRequestData({ origin: 'https://example.com' })
        )

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

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

low egress tooling Excluded from app score unknown #e9547a1be95c92d5 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:357
        let res = await app.request(
          'http://honojs.hono.example.jp/form',
          buildSimplePostRequestData({ origin: 'http://example.jp' })
        )

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 #84a695b00ac231e2 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/[email protected]__reposrc/src/middleware/csrf/index.test.ts:364
        res = await app.request(
          'http://example.jp/form',
          buildSimplePostRequestData({ origin: 'http://example.jp' })
        )

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 #43a37360c2332859 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/utils/jwt/jwt.ts:231
    const response = await fetch(options.jwks_uri, init)

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.

@vercel/sandbox

npm dependency
medium pii_flow dependency Excluded from app score #41953d088b1bf2e4 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration.
pkgs/npm/@[email protected]__sourcemap/src/api-client/base-client.ts:60 · flow /tmp/closeopen-sl219vn4/pkgs/npm/@[email protected]__sourcemap/src/api-client/base-client.ts:41 → /tmp/closeopen-sl219vn4/pkgs/npm/@[email protected]__sourcemap/src/api-client/base-client.ts:60
      headers: this.token
        ? { Authorization: `Bearer ${this.token}`, ...opts?.headers }
        : opts?.headers,

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

medium pii_flow dependency Excluded from app score #cc579dee25853527 A credential read from the environment/filesystem is applied as authorization on the same outbound request (auth header). This is intentional authentication, not unexpected data exfiltration.
pkgs/npm/@[email protected]__sourcemap/src/auth/api.ts:12 · flow /tmp/closeopen-sl219vn4/pkgs/npm/@[email protected]__sourcemap/src/auth/api.ts:13 → /tmp/closeopen-sl219vn4/pkgs/npm/@[email protected]__sourcemap/src/auth/api.ts:12
    headers: {
      Authorization: `Bearer ${opts.token}`,
      "Content-Type": "application/json",
    },

A credential (read from the environment/filesystem, or parsed from the request URL) is applied as authorization on the same outbound request. This is intentional authentication to the service the credential belongs to, not unexpected data exfiltration.

Fix: Confirm the destination is the credential's own service; scope the credential and avoid logging it. No action if this is the intended authenticated API call.

expand_more 28 low-confidence finding(s)
low env_fs dependency Excluded from app score #339a4891c85faad6 Environment-variable access.
pkgs/npm/@[email protected]__sourcemap/src/api-client/base-client.ts:40
    this.debug = params.debug ?? process.env.DEBUG_FETCH === "true";

Reads environment variables or the filesystem — 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 #b3ef3b0d95816c7b Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__sourcemap/src/auth/api.ts:9
  const x = await fetch(`https://vercel.com/api${opts.endpoint}`, {
    method: opts.method,
    body: opts.body,
    headers: {
      Authorization: `Bearer ${opts.token}`,
      "Content-Type": "application/json",
    },
  });

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

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

low env_fs dependency Excluded from app score #2d30ef164767ee69 Environment-variable access.
pkgs/npm/@[email protected]__sourcemap/src/auth/file.ts:37
  if (process.env.VERCEL_AUTH_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 dependency Excluded from app score #2c7f2238bbef382c Environment-variable access.
pkgs/npm/@[email protected]__sourcemap/src/auth/file.ts:38
    return process.env.VERCEL_AUTH_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 dependency Excluded from app score #5e5f5cfa23daa5c2 Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/auth/file.ts:62
    return StoredAuthFile.parse(fs.readFileSync(pathname, "utf8"));

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

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

low env_fs dependency Excluded from app score #fc674c1709e00f74 Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/auth/file.ts:77
  fs.writeFileSync(pathname, JSON.stringify(content) + "\n");

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

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

low env_fs dependency Excluded from app score #9b56272dc7f00a39 Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/auth/linked-project.ts:26
    content = await fs.readFile(projectJsonPath, "utf-8");

Reads environment variables or the filesystem — 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 #be56014299750919 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]__sourcemap/src/auth/oauth.ts:9
const ISSUER = new URL("https://vercel.com");

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

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

low egress dependency Excluded from app score #aff833b5dbc0583c Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__sourcemap/src/auth/oauth.ts:49
  const response = await fetch(
    new URL(".well-known/openid-configuration", ISSUER),
    {
      headers: { "Content-Type": "application/json", "user-agent": USER_AGENT },
    },
  );

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 #f55b93d8177f8188 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__sourcemap/src/auth/oauth.ts:70
      const response = await fetch(as.device_authorization_endpoint, {
        method: "POST",
        headers: {
          "Content-Type": "application/x-www-form-urlencoded",
          "user-agent": USER_AGENT,
        },
        body: new URLSearchParams({
          client_id: CLIENT_ID,
          scope: "openid offline_access",
        }),
      });

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 #60e084a2de018eed Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__sourcemap/src/auth/oauth.ts:112
          await fetch(as.token_endpoint, {
            method: "POST",
            headers: {
              "Content-Type": "application/x-www-form-urlencoded",
              "user-agent": USER_AGENT,
            },
            body: new URLSearchParams({
              client_id: CLIENT_ID,
              grant_type: "urn:ietf:params:oauth:grant-type:device_code",
              device_code,
            }),
            signal: AbortSignal.timeout(10 * 1000),
          }),

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 #7983d0e48b05c3fd Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__sourcemap/src/auth/oauth.ts:164
      const response = await fetch(as.revocation_endpoint, {
        method: "POST",
        headers: {
          "Content-Type": "application/x-www-form-urlencoded",
          "user-agent": USER_AGENT,
        },
        body: new URLSearchParams({ token, client_id: CLIENT_ID }),
      });

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 #9dc70491cbb1e5f1 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__sourcemap/src/auth/oauth.ts:184
      const response = await fetch(as.token_endpoint, {
        method: "POST",
        headers: {
          "Content-Type": "application/x-www-form-urlencoded",
          "user-agent": USER_AGENT,
        },
        body: new URLSearchParams({
          client_id: CLIENT_ID,
          grant_type: "refresh_token",
          refresh_token: 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 dependency Excluded from app score #a54651118a8747c5 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]__sourcemap/src/auth/oauth.ts:209
      const response = await fetch(as.introspection_endpoint, {
        method: "POST",
        headers: {
          "Content-Type": "application/x-www-form-urlencoded",
          "user-agent": USER_AGENT,
        },
        body: new URLSearchParams({ token }),
      });

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

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

low env_fs dependency Excluded from app score #85666d0a436597e6 Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/filesystem.ts:1
import type { Stats, Dirent } from "fs";

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

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

low env_fs dependency Excluded from app score #da695ff957fea3d5 Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/sandbox-user.ts:3
import { createWriteStream } from "fs";

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

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

low env_fs dependency Excluded from app score #840433da19215261 Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/sandbox-user.ts:4
import { 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 dependency Excluded from app score #65bd1d969c91cdbd Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/sandbox-user.ts:306
    const stream = await this.readFile(src, opts);

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

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

low env_fs dependency Excluded from app score #73c77a1fbba49498 Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/sandbox.ts:1189
      () => this.session!.readFile(file, opts),

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

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

low env_fs dependency Excluded from app score #eaef596e626bc2d8 Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/session.ts:5
import { createWriteStream } from "fs";

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

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

low env_fs dependency Excluded from app score #9207c63123f4d8eb Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/session.ts:6
import { 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 dependency Excluded from app score #8adb80d53da921b3 Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/session.ts:536
    return client.readFile({
      sessionId: this.session.id,
      path: file.path,
      cwd: file.cwd,
      signal: opts?.signal,
    });

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

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

low env_fs dependency Excluded from app score #d752f08ae5873fa6 Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/session.ts:558
    const stream = await client.readFile({
      sessionId: this.session.id,
      path: file.path,
      cwd: file.cwd,
      signal: opts?.signal,
    });

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

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

low env_fs dependency Excluded from app score #9e67067c47f30544 Filesystem access.
pkgs/npm/@[email protected]__sourcemap/src/session.ts:597
    const stream = await client.readFile({
      sessionId: this.session.id,
      path: src.path,
      cwd: src.cwd,
      signal: opts?.signal,
    });

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

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

low env_fs dependency Excluded from app score #81c04815c87f35f7 Environment-variable access.
pkgs/npm/@[email protected]__sourcemap/src/utils/dev-credentials.ts:13
    process.env.NODE_ENV !== "production" &&

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

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

low env_fs dependency Excluded from app score #ad0936aa75d63df3 Environment-variable access.
pkgs/npm/@[email protected]__sourcemap/src/utils/dev-credentials.ts:14
    !["1", "true"].includes(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 #0948c00f0d52c621 Environment-variable access.
pkgs/npm/@[email protected]__sourcemap/src/utils/dev-credentials.ts:72
    const timeout: ms.StringValue = process.env.VERCEL_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 #dba4b6cae5cb7563 Environment-variable access.
pkgs/npm/@[email protected]__sourcemap/src/utils/get-credentials.ts:71
      if (process.env.VERCEL_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.

@ai-sdk/google

npm dependency
expand_more 1 low-confidence finding(s)
low egress dependency Excluded from app score #e563ddeada29b7b5 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/src/interactions/cancel-google-interaction.ts:37
    const response = await fetch(url, {
      method: 'POST',
      headers: withUserAgentSuffix(
        combineHeaders({ 'Content-Type': 'application/json' }, headers),
        getRuntimeEnvironmentUserAgent(),
      ),
      body: '{}',
    });

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.

@ai-sdk/harness

npm dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #8a9088f9f359ebdb Filesystem access.
pkgs/npm/@[email protected]/src/bridge/index.ts:319
      const lines = readFileSync(eventLogPath, 'utf8')

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

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

low env_fs dependency Excluded from app score #6a8ad7dd43dd3250 Filesystem access.
pkgs/npm/@[email protected]/src/bridge/index.ts:348
      await writeFile(
        bridgeMetaPath,
        JSON.stringify({
          type: bridgeType,
          port: currentBoundPort,
          state,
          pid,
        }),
      );

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

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

low env_fs dependency Excluded from app score #1479b1844ff880ee Filesystem access.
pkgs/npm/@[email protected]/src/bridge/index.ts:365
      await writeFile(startConfigPath, serialized);

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

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

low env_fs dependency Excluded from app score #2da044d2943ee588 Filesystem access.
pkgs/npm/@[email protected]/src/bridge/index.ts:369
        await writeFile(rerunStartConfigPath, serialized);

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

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

low env_fs dependency Excluded from app score #29198bbddb89e713 Filesystem access.
pkgs/npm/@[email protected]/src/bridge/index.ts:537
        void writeFile(eventLogPath, '').catch(() => {});

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

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

@ai-sdk/provider-utils

npm dependency
expand_more 7 low-confidence finding(s)
low egress dependency Excluded from app score #17d489383b8d5787 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/src/fetch-with-validated-redirects.ts:109
    const response = await fetch(currentUrl, perHopInit('manual'));

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 #0412778132c16e35 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/src/fetch-with-validated-redirects.ts:118
      return await fetch(currentUrl, perHopInit('follow'));

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 #b3f06648251be0a4 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/src/get-from-api.ts:89
      : await fetch(url, {
          method: 'GET',
          headers: requestHeaders,
          signal: abortSignal,
        });

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 #544693b93f9461ad Environment-variable access.
pkgs/npm/@[email protected]/src/load-api-key.ts:30
  apiKey = process.env[environmentVariableName];

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

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

low env_fs dependency Excluded from app score #c4a911cdfa9dde8d Environment-variable access.
pkgs/npm/@[email protected]/src/load-optional-setting.ts:23
  settingValue = process.env[environmentVariableName];

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

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

low env_fs dependency Excluded from app score #11e9cacd664abf99 Environment-variable access.
pkgs/npm/@[email protected]/src/load-setting.ts:42
  settingValue = process.env[environmentVariableName];

Reads environment variables or the filesystem — 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 #0f9753c727fbd82f Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/@[email protected]/src/post-to-api.ts:98
    const response = await fetch(url, {
      method: 'POST',
      headers: withUserAgentSuffix(
        headers,
        `ai-sdk/provider-utils/${VERSION}`,
        getRuntimeEnvironmentUserAgent(),
      ),
      body: body.content,
      signal: abortSignal,
    });

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.

@basetenlabs/performance-client

npm dependency
expand_more 33 low-confidence finding(s)
low env_fs dependency Excluded from app score #8101d61168b0c8a2 Filesystem access.
pkgs/npm/@[email protected]/index.js:28
    return readFileSync('/usr/bin/ldd', 'utf-8').includes('musl')

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

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #758014ba8725d79f Environment-variable access.
pkgs/npm/@[email protected]/index.js:64
  if (process.env.NAPI_RS_NATIVE_LIBRARY_PATH) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #7b654ce47578af16 Environment-variable access.
pkgs/npm/@[email protected]/index.js:66
      return require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bbd2ac7a28f55d76 Environment-variable access.
pkgs/npm/@[email protected]/index.js:80
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #1c9eb5118216db1a Environment-variable access.
pkgs/npm/@[email protected]/index.js:96
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #ead895bc98e97eff Environment-variable access.
pkgs/npm/@[email protected]/index.js:117
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #81e519429553d2a0 Environment-variable access.
pkgs/npm/@[email protected]/index.js:133
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #43a37562e2db6806 Environment-variable access.
pkgs/npm/@[email protected]/index.js:150
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #8f07f56dbaaf3ae0 Environment-variable access.
pkgs/npm/@[email protected]/index.js:166
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #981bf28381c50c32 Environment-variable access.
pkgs/npm/@[email protected]/index.js:185
      if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #173529154028c766 Environment-variable access.
pkgs/npm/@[email protected]/index.js:201
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #52c059d99da6a354 Environment-variable access.
pkgs/npm/@[email protected]/index.js:217
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #7967c966e882cd60 Environment-variable access.
pkgs/npm/@[email protected]/index.js:237
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #2208b7ea60b2186f Environment-variable access.
pkgs/npm/@[email protected]/index.js:253
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #7fa5e5efa6553bc0 Environment-variable access.
pkgs/npm/@[email protected]/index.js:274
          if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #116104925094fe3f Environment-variable access.
pkgs/npm/@[email protected]/index.js:290
          if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #851e9ab31930f2e4 Environment-variable access.
pkgs/npm/@[email protected]/index.js:308
          if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #18f388fb8c107dff Environment-variable access.
pkgs/npm/@[email protected]/index.js:324
          if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #a37b70b9cd2ff98b Environment-variable access.
pkgs/npm/@[email protected]/index.js:342
          if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #e671424df62384b4 Environment-variable access.
pkgs/npm/@[email protected]/index.js:358
          if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #8e4d0f5ad1488b38 Environment-variable access.
pkgs/npm/@[email protected]/index.js:376
          if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #41b0b914e457de33 Environment-variable access.
pkgs/npm/@[email protected]/index.js:392
          if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #142fbed3cd876ffd Environment-variable access.
pkgs/npm/@[email protected]/index.js:410
          if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #26fc2dbf61e5bffa Environment-variable access.
pkgs/npm/@[email protected]/index.js:426
          if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #11b08dc43dfa78a2 Environment-variable access.
pkgs/npm/@[email protected]/index.js:443
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #7d0dc7c9a8efaf4b Environment-variable access.
pkgs/npm/@[email protected]/index.js:459
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #8435c11774670b2d Environment-variable access.
pkgs/npm/@[email protected]/index.js:479
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #a38f614f224e209c Environment-variable access.
pkgs/npm/@[email protected]/index.js:495
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #6189079b998b5a56 Environment-variable access.
pkgs/npm/@[email protected]/index.js:511
        if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '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 #f67fe4df2fb283bc Environment-variable access.
pkgs/npm/@[email protected]/index.js:528
if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fd77a91d6fb60487 Environment-variable access.
pkgs/npm/@[email protected]/index.js:535
    if (process.env.NAPI_RS_FORCE_WASI) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e275e502a397af76 Environment-variable access.
pkgs/npm/@[email protected]/index.js:544
      if (process.env.NAPI_RS_FORCE_WASI) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #fec5ed644f57c4b1 Environment-variable access.
pkgs/npm/@[email protected]/index.js:550
  if (process.env.NAPI_RS_FORCE_WASI === 'error' && !wasiBinding) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

@earendil-works/pi-coding-agent

npm dependency
expand_more 37 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #c69d71a42309a272 Environment-variable access.
pkgs/npm/@[email protected]/examples/extensions/border-status-editor.ts:43
	const home = process.env.HOME;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress tooling Excluded from app score unknown #e68659ff60f1135e Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]/examples/extensions/custom-provider-anthropic/index.ts:97
	const tokenResponse = await fetch(TOKEN_URL, {
		method: "POST",
		headers: { "Content-Type": "application/json" },
		body: JSON.stringify({
			grant_type: "authorization_code",
			client_id: CLIENT_ID,
			code,
			state,
			redirect_uri: REDIRECT_URI,
			code_verifier: verifier,
		}),
	});

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 #b6acf0a2aa2e8ec3 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]/examples/extensions/custom-provider-anthropic/index.ts:128
	const response = await fetch(TOKEN_URL, {
		method: "POST",
		headers: { "Content-Type": "application/json" },
		body: JSON.stringify({
			grant_type: "refresh_token",
			client_id: CLIENT_ID,
			refresh_token: credentials.refresh,
		}),
	});

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 #3f04c84234ea6ff6 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]/examples/extensions/custom-provider-gitlab-duo/index.ts:189
	const response = await fetch(`${GITLAB_COM_URL}/api/v4/ai/third_party_agents/direct_access`, {
		method: "POST",
		headers: { Authorization: `Bearer ${gitlabAccessToken}`, "Content-Type": "application/json" },
		body: JSON.stringify({ feature_flags: { DuoAgentPlatformNext: true } }),
	});

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 #39432c579a3df651 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]/examples/extensions/custom-provider-gitlab-duo/index.ts:250
	const tokenResponse = await fetch(`${GITLAB_COM_URL}/oauth/token`, {
		method: "POST",
		headers: { "Content-Type": "application/x-www-form-urlencoded" },
		body: new URLSearchParams({
			client_id: BUNDLED_CLIENT_ID,
			grant_type: "authorization_code",
			code,
			code_verifier: verifier,
			redirect_uri: REDIRECT_URI,
		}).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 egress tooling Excluded from app score unknown #761e9b093d8f728e Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]/examples/extensions/custom-provider-gitlab-duo/index.ts:278
	const response = await fetch(`${GITLAB_COM_URL}/oauth/token`, {
		method: "POST",
		headers: { "Content-Type": "application/x-www-form-urlencoded" },
		body: new URLSearchParams({
			client_id: BUNDLED_CLIENT_ID,
			grant_type: "refresh_token",
			refresh_token: credentials.refresh,
		}).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 #58e3eb82edfc0a46 Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/custom-provider-gitlab-duo/test.ts:12
import { readFileSync } from "fs";

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #9a7ed0014ee9fdb5 Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/custom-provider-gitlab-duo/test.ts:32
	const authData = JSON.parse(readFileSync(authPath, "utf-8"));

Reads environment variables or the filesystem — an inventory-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 #6d9a4c764b23371d Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/doom-overlay/doom-engine.ts:58
		const wadData = readFileSync(this.wadPath);

Reads environment variables or the filesystem — an inventory-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 #0d60b1b9650dd2ad Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/doom-overlay/doom-engine.ts:62
		const doomJsCode = readFileSync(doomJsPath, "utf-8");

Reads environment variables or the filesystem — an inventory-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 #b27c6194272d3b86 Environment-variable access.
pkgs/npm/@[email protected]/examples/extensions/doom-overlay/wad-finder.ts:14
		const resolved = resolve(customPath.replace(/^~/, process.env.HOME || ""));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #4e069e44db11f5b4 Environment-variable access.
pkgs/npm/@[email protected]/examples/extensions/doom-overlay/wad-finder.ts:26
		const resolved = resolve(p.replace(/^~/, process.env.HOME || ""));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress tooling Excluded from app score unknown #c0f5bf697a357d6b Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]/examples/extensions/doom-overlay/wad-finder.ts:41
		const response = await fetch(WAD_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 #8bc39adaf8664775 Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/doom-overlay/wad-finder.ts:46
		writeFileSync(BUNDLED_WAD, Buffer.from(buffer));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #e63bc0a42ff313ce Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/file-trigger.ts:20
				const content = fs.readFileSync(triggerFile, "utf-8").trim();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #a75343e2eab1ad1e Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/file-trigger.ts:30
					fs.writeFileSync(triggerFile, ""); // Clear after reading

Reads environment variables or the filesystem — an inventory-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 #d05b58b378121431 Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/gondolin/index.ts:86
		readFile: async (filePath) => vm.fs.readFile(toGuestPath(localCwd, filePath)),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #74e22236ad9d54b2 Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/gondolin/index.ts:104
			await vm.fs.writeFile(toGuestPath(localCwd, filePath), content, { encoding: "utf8" });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #4ffa3a3aec6b03c9 Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/gondolin/index.ts:265
				content = await vm.fs.readFile(guestPath, { encoding: "utf8", signal });

Reads environment variables or the filesystem — an inventory-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 #d3d3e2a3ceda1128 Environment-variable access.
pkgs/npm/@[email protected]/examples/extensions/interactive-shell.ts:102
		process.env.INTERACTIVE_COMMANDS?.split(",")

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #bc8d557caf1d994f Environment-variable access.
pkgs/npm/@[email protected]/examples/extensions/interactive-shell.ts:105
	const excluded = new Set(process.env.INTERACTIVE_EXCLUDE?.split(",").map((s) => s.trim().toLowerCase()) ?? []);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #7074ca454f43006e Environment-variable access.
pkgs/npm/@[email protected]/examples/extensions/interactive-shell.ts:164
			const shell = process.env.SHELL || "/bin/sh";

Reads environment variables or the filesystem — an inventory-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 #0cc21335df32191c Environment-variable access.
pkgs/npm/@[email protected]/examples/extensions/notify.ts:42
	if (process.env.WT_SESSION) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #3718c0236e431d00 Environment-variable access.
pkgs/npm/@[email protected]/examples/extensions/notify.ts:44
	} else if (process.env.KITTY_WINDOW_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 #8af35bd77465af92 Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/preset.ts:80
			const content = readFileSync(globalPath, "utf-8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #cb042763bf56df6b Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/preset.ts:90
			const content = readFileSync(projectPath, "utf-8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #87ec26766c11d2cb Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/sandbox/index.ts:88
			globalConfig = JSON.parse(readFileSync(globalConfigPath, "utf-8"));

Reads environment variables or the filesystem — an inventory-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 #508caea829c3590b Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/sandbox/index.ts:96
			projectConfig = JSON.parse(readFileSync(projectConfigPath, "utf-8"));

Reads environment variables or the filesystem — an inventory-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 #85b4794eb791792a Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/subagent/agents.ts:47
			content = fs.readFileSync(filePath, "utf-8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #b99d4935da061b32 Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/subagent/index.ts:244
		await fs.promises.writeFile(filePath, prompt, { encoding: "utf-8", mode: 0o600 });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #51c423e7f0297d52 Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/tool-override.ts:25
import { constants, readFileSync } from "fs";

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #8c85dd9b773eaf5d Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/tool-override.ts:26
import { access, appendFile, 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 tooling Excluded from app score unknown #1cb5d260d4b257e3 Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/tool-override.ts:100
				const content = await readFile(absolutePath, "utf-8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #d934b62617647dc3 Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/tool-override.ts:136
				const log = readFileSync(LOG_FILE, "utf-8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #022e936c28fade94 Filesystem access.
pkgs/npm/@[email protected]/examples/extensions/truncated-tool.ts:115
					await writeFile(tempFile, output, "utf8");

Reads environment variables or the filesystem — an inventory-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 #deb32b8e35da0841 Environment-variable access.
pkgs/npm/@[email protected]/examples/sdk/12-full-control.ts:21
if (process.env.MY_ANTHROPIC_KEY) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #becb30ddb8426eb0 Environment-variable access.
pkgs/npm/@[email protected]/examples/sdk/12-full-control.ts:22
	modelRuntime.setRuntimeApiKey("anthropic", process.env.MY_ANTHROPIC_KEY);

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

@hono/node-server

npm dependency
expand_more 1 low-confidence finding(s)
low egress tooling Excluded from app score unknown #3629eb220a60e261 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/benchmarks/fetch/scripts/bench.ts:39
    return await fetch(url, 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.

@standard-schema/spec

npm dependency
expand_more 7 low-confidence finding(s)
low env_fs dependency Excluded from app score #de8934dd1cf4ad76 Filesystem access.
pkgs/npm/@[email protected]__reposrc/packages/web/app/json-schema/page.tsx:46
  const md = readFileSync(mdPath, "utf-8").split("<!-- start -->")[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 #e9b5b4efb3dc804b Filesystem access.
pkgs/npm/@[email protected]__reposrc/packages/web/app/page.tsx:46
  const md = readFileSync(mdPath, "utf-8").split("<!-- start -->")[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 #c8395106f30fc17a Filesystem access.
pkgs/npm/@[email protected]__reposrc/packages/web/app/schema/page.tsx:45
  const md = readFileSync(mdPath, "utf-8").split("<!-- start -->")[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 #93d061c21aebb9cd Environment-variable access.
pkgs/npm/@[email protected]__reposrc/packages/web/lib/utils.ts:11
  return process.env.NODE_ENV === "development";

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #387fd1862e243342 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/packages/web/lib/utils.ts:15
  return process.env.CF_PAGES_BRANCH !== "main";

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #c0b90f7acf4cbf6c Environment-variable access.
pkgs/npm/@[email protected]__reposrc/packages/web/lib/utils.ts:19
  return process.env.CF_PAGES_BRANCH === "main";

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #ad37a19cc3a25121 Environment-variable access.
pkgs/npm/@[email protected]__reposrc/packages/web/lib/utils.ts:28
    return process.env.CF_PAGES_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.

@vercel/geistdocs

npm dependency
expand_more 12 low-confidence finding(s)
low env_fs dependency Excluded from app score #0756c3715c298010 Filesystem access.
pkgs/npm/@[email protected]/template/app/[lang]/og/[...slug]/route.tsx:20
  const regularFont = await readFile(
    join(process.cwd(), "app/[lang]/og/[...slug]/geist-sans-regular.ttf")
  );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #dbc57b05b7b70be0 Filesystem access.
pkgs/npm/@[email protected]/template/app/[lang]/og/[...slug]/route.tsx:24
  const semiboldFont = await readFile(
    join(process.cwd(), "app/[lang]/og/[...slug]/geist-sans-semibold.ttf")
  );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #47f4a94b02afc560 Filesystem access.
pkgs/npm/@[email protected]/template/app/[lang]/og/[...slug]/route.tsx:28
  const backgroundImage = await readFile(
    join(process.cwd(), "app/[lang]/og/[...slug]/background.png")
  );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #46c22d895476648f Environment-variable access.
pkgs/npm/@[email protected]/template/app/[lang]/rss.xml/route.ts:6
const protocol = process.env.NODE_ENV === "production" ? "https" : "http";

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8677eb6be499818c Environment-variable access.
pkgs/npm/@[email protected]/template/app/[lang]/rss.xml/route.ts:7
const baseUrl = `${protocol}://${process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_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 #b566e8b6ead68da3 Environment-variable access.
pkgs/npm/@[email protected]/template/app/api/chat/route.ts:5
const chatProxyUrl = process.env.GEISTDOCS_CHAT_PROXY_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 #35139076b45dee95 Environment-variable access.
pkgs/npm/@[email protected]/template/app/api/chat/route.ts:6
const chatProxyToken = process.env.GEISTDOCS_CHAT_PROXY_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 #5730178d3ef440bc Environment-variable access.
pkgs/npm/@[email protected]/template/app/robots.ts:3
const protocol = process.env.NODE_ENV === "production" ? "https" : "http";

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6cd7127a8eee0d36 Environment-variable access.
pkgs/npm/@[email protected]/template/app/robots.ts:4
const baseUrl = `${protocol}://${process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_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 #0293f966c127434f Environment-variable access.
pkgs/npm/@[email protected]/template/app/sitemap.ts:5
const protocol = process.env.NODE_ENV === "production" ? "https" : "http";

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8b64a3655b78f8e3 Environment-variable access.
pkgs/npm/@[email protected]/template/app/sitemap.ts:6
const baseUrl = `${protocol}://${process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL}`;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low egress dependency Excluded from app score #5c811ae595c92470 Hardcoded external endpoint. Review what data is sent to this destination.
pkgs/npm/@[email protected]/template/lib/geistdocs/md-tracking.ts:30
    const response = await fetch(PLATFORM_URL, {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        path,
        siteId: siteId ?? "geistdocs-unknown",
        userAgent,
        referer,
        acceptHeader,
        requestType,
        detectionMethod,
      }),
    });

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.

ai

npm dependency
expand_more 4 low-confidence finding(s)
low egress dependency Excluded from app score #7ed4d0e50fbb4a12 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/[email protected]/src/realtime/realtime-session.ts:110
      const response = await fetch(this.api.token, {
        method: 'POST',
        headers: { 'Content-Type': 'application/json' },
        body: JSON.stringify({ sessionConfig: this.sessionConfig }),
      });

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 #13e439373ff5918d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/[email protected]/src/ui/call-completion-api.ts:57
    const response = await fetch(api, {
      method: 'POST',
      body: JSON.stringify({
        prompt,
        ...body,
      }),
      credentials,
      headers: withUserAgentSuffix(
        {
          'Content-Type': 'application/json',
          ...headers,
        },
        `ai-sdk/${VERSION}`,
        getRuntimeEnvironmentUserAgent(),
      ),
      signal: abortController.signal,
    }).catch(err => {

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 #95ff349618076d05 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/[email protected]/src/ui/http-chat-transport.ts:191
    const response = await fetch(api, {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
        ...headers,
      },
      body: JSON.stringify(body),
      credentials,
      signal: abortSignal,
    });

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 #88552109467dd802 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/[email protected]/src/ui/http-chat-transport.ts:246
    const response = await fetch(api, {
      method: 'GET',
      headers,
      credentials,
    });

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.

aws4fetch

npm dependency
expand_more 1 low-confidence finding(s)
low egress dependency Excluded from app score #aa986c8064ceab26 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/main.js:113
      const fetched = fetch(await this.sign(input, init))

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.

commander

npm dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #c3d26f45946286c6 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 #c2e303df9f0abd4d 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 #6055d0d6f41fc9b8 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 #bc35c396169aaa60 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 #c0f25f223515eb4f 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.

debug

npm dependency
expand_more 5 low-confidence finding(s)
low env_fs dependency Excluded from app score #c663a7afb9c39fe4 Environment-variable access.
pkgs/npm/[email protected]/src/browser.js:230
		r = process.env.DEBUG;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8b0daa0aba08f361 Environment-variable access.
pkgs/npm/[email protected]/src/node.js:136
	let val = process.env[key];

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #cc129393dffea6b7 Environment-variable access.
pkgs/npm/[email protected]/src/node.js:205
		process.env.DEBUG = namespaces;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #33d5f963cd01522f Environment-variable access.
pkgs/npm/[email protected]/src/node.js:209
		delete process.env.DEBUG;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #de67caa84880c515 Environment-variable access.
pkgs/npm/[email protected]/src/node.js:221
	return process.env.DEBUG;

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

jscodeshift

npm dependency
expand_more 11 low-confidence finding(s)
low env_fs dependency Excluded from app score #fb6d095daf6b2891 Filesystem access.
pkgs/npm/[email protected]/bin/jscodeshift.js:14
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #9660dd98b67da957 Filesystem access.
pkgs/npm/[email protected]/bin/jscodeshift.js:121
      process: file => JSON.parse(fs.readFileSync(file)),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e5f69f5b8da291ef Filesystem access.
pkgs/npm/[email protected]/src/Worker.js:150
      fs.readFile(file, async function(err, source) {
        if (err) {
          updateStatus('error', file, 'File error: ' + err);
          callback();
          return;
        }
        source = source.toString();
        try {
          const jscodeshift = prepareJscodeshift(options);
          const out = await transform(
            {
              path: file,
              source: source,
            },
            {
              j: jscodeshift,
              jscodeshift: jscodeshift,
              stats: options.dry ? stats : empty,
              report: msg => report(file, msg),
            },
            options
          );
          if (!out || out === source) {
            updateStatus(out ? 'nochange' : 'skip', file);
            callback();
            return;
          }
          if (options.print) {
            console.log(out); // eslint-disable-line no-console
          }
          if (!options.dry) {
            writeFileAtomic(file, out, function(err) {
              if (err) {
                updateStatus('error', file, 'File writer error: ' + err);
              } else {
                updateStatus('ok', file);
              }
              callback();
            });
          } else {
            updateStatus('ok', file);
            callback();
          }
        } catch(err) {
          updateStatus(
            'error',
            file,
            'Transformation error ('+ err.message.replace(/\n/g, ' ') + ')\n' + trimStackTrace(err.stack)
          );
          callback();
        }
      });

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #4cfde229f6825047 Filesystem access.
pkgs/npm/[email protected]/src/ignoreFiles.js:3
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #398f0c21e83b3722 Filesystem access.
pkgs/npm/[email protected]/src/ignoreFiles.js:53
      const content = fs.readFileSync(config, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #d65c6f421188a1ef Filesystem access.
pkgs/npm/[email protected]/src/testUtils.js:12
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #b72c173a8fe04e3d Filesystem access.
pkgs/npm/[email protected]/src/testUtils.js:111
  const source = fs.readFileSync(inputPath, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #e310624d4d75cd3d Filesystem access.
pkgs/npm/[email protected]/src/testUtils.js:112
  const expectedOutput = fs.readFileSync(
    path.join(fixtureDir, testFilePrefix + `.output.${extension}`),
    'utf8'
  );

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #988f802420797387 Filesystem access.
pkgs/npm/[email protected]/src/testUtils.js:169
  const source = fs.readFileSync(inputPath, 'utf8');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #a8835e63caa667d1 Filesystem access.
pkgs/npm/[email protected]/utils/testUtils.js:11
const fs = require('fs');

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #6550fd91a63bce4e Filesystem access.
pkgs/npm/[email protected]/utils/testUtils.js:47
  return fs.readFileSync(filePath).toString();

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

jsondiffpatch

npm dependency
expand_more 2 low-confidence finding(s)
low egress dependency Excluded from app score #4e542e61b4766166 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
pkgs/npm/[email protected]/bin/jsondiffpatch.js:100
		return fetch(path).then((response) => response.json());

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low env_fs dependency Excluded from app score #6ca609d7d8d2bd96 Filesystem access.
pkgs/npm/[email protected]/bin/jsondiffpatch.js:102
	return JSON.parse(readFileSync(path));

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

shiki

npm dependency
expand_more 7 low-confidence finding(s)
low env_fs dependency Excluded from app score #ec911b980de2575a Filesystem access.
pkgs/npm/[email protected]__reposrc/build.config.ts:40
      await fs.writeFile('dist/onig.d.mts', 'declare const binary: ArrayBuffer; export default binary;', 'utf-8')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #8a2aefd5744393ba Filesystem access.
pkgs/npm/[email protected]__reposrc/build.config.ts:43
        langs.map(file => fs.writeFile(
          join(dirname(file), `${basename(file, '.mjs')}.d.mts`),
          'import { LanguageRegistration } from \'@shikijs/core\';declare const reg: LanguageRegistration[];export default reg',
          'utf-8',
        )),

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #bc431d8539580d58 Filesystem access.
pkgs/npm/[email protected]__reposrc/build.config.ts:51
        themes.map(file => fs.writeFile(
          join(dirname(file), `${basename(file, '.mjs')}.d.mts`),
          'import { ThemeRegistrationRaw } from \'@shikijs/core\';declare const reg: ThemeRegistrationRaw;export default reg',
          'utf-8',
        ),

Reads environment variables or the filesystem — an inventory-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 #2a1a9f63ac0ba728 Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/prepare.ts:11
  await fs.writeFile(
    `./src/langs/${lang}.mjs`,
    `export { default } from '@shikijs/langs/${lang}'\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 tooling Excluded from app score unknown #266a9760bbf165c1 Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/prepare.ts:16
  await fs.writeFile(
    `./src/langs/${lang}.d.mts`,
    `export { default } from '@shikijs/langs/${lang}'\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 tooling Excluded from app score unknown #e48dab85518db5f7 Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/prepare.ts:24
  await fs.writeFile(
    `./src/themes/${theme}.mjs`,
    `export { default } from '@shikijs/themes/${theme}'\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 tooling Excluded from app score unknown #f1bd8b178a9db9bc Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/prepare.ts:29
  await fs.writeFile(
    `./src/themes/${theme}.d.mts`,
    `export { default } from '@shikijs/themes/${theme}'\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.

streamdown

npm dependency
expand_more 5 low-confidence finding(s)
low env_fs tooling Excluded from app score unknown #c6b96ea49b8cea29 Filesystem access.
pkgs/npm/[email protected]__reposrc/__tests__/code-block.test.tsx:441
    const largeContent = fs.readFileSync(fixturePath, "utf-8");

Reads environment variables or the filesystem — 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 #06866af375e78808 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/lib/image.tsx:73
      const response = await fetch(src);

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 #006a985171633173 Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/bundle-size.js:31
  const bundleContent = readFileSync(outfile);

Reads environment variables or the filesystem — an inventory-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 #86494149cca756dc Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/postbuild.js:11
  const content = readFileSync(filePath, "utf-8");

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #af35b0491ea02ff1 Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/postbuild.js:14
    writeFileSync(filePath, `"use client";\n${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.

swr

npm dependency
expand_more 37 low-confidence finding(s)
low egress dependency Excluded from app score #f170c29db3285060 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/e2e/site/app/basic-ssr/block.tsx:8
    const res = await fetch(url).then(v => v.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 #d6a23413e9e710cf 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/e2e/site/app/partially-hydrate/use-data.tsx:5
    const res = await fetch(url).then(v => v.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 tooling Excluded from app score unknown #12820e59ee161cba 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/examples/api-hooks/libs/fetch.js:2
  const res = await fetch(...args)

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 #0610bfc528b45800 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/examples/api-hooks/pages/api/data.js:8
    fetch(`https://api.github.com/repos/${req.query.id}`)

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 #cc099ba5b8889240 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/examples/autocomplete-suggestions/libs/fetcher.js:2
  const res = await fetch(...args)

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 #5e9e0efb9165a4dd 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/examples/basic-typescript/libs/fetch.ts:5
  const res = await fetch(input, init)

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 #591601597b72ba0d 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/examples/basic-typescript/pages/api/data.ts:13
    fetch(`https://api.github.com/repos/${req.query.id}`)

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 #2108facf78af76b8 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/examples/basic/libs/fetch.js:2
  const res = await fetch(...args)

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 #f8fcdcee6b90eb65 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/examples/basic/pages/api/data.js:8
    fetch(`https://api.github.com/repos/${req.query.id}`)

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 #5811277bf9103e01 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/examples/focus-revalidate/libs/fetch.js:2
  const res = await fetch(...args)

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 #3bae66a9d1b6dd1f 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/examples/global-fetcher/libs/fetch.js:2
  const res = await fetch(...args)

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 #73075551f2757220 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/examples/global-fetcher/pages/api/data.js:8
    fetch(`https://api.github.com/repos/${req.query.id}`)

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 #b18092296d186edd 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/examples/infinite-scroll/libs/fetch.js:2
  const res = await fetch(...args)

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 #a9fc10e99ae6794d 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/examples/infinite/libs/fetch.js:2
  const res = await fetch(...args)

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 #1c702dffcf4388bc 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/examples/optimistic-ui-immer/libs/fetch.js:2
  const res = await fetch(...args)

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 #0bb8dfaacec2a2cc 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/examples/optimistic-ui/libs/fetch.js:2
  const res = await fetch(...args)

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 #39095f29060709da 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/examples/prefetch-preload/libs/fetch.js:2
  const res = await fetch(...args)

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 #032b19c62f6e82ec 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/examples/prefetch-preload/pages/api/data.js:8
    fetch(`https://api.github.com/repos/${req.query.id}`)

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 #cc234c48979213ae 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/examples/prefetch-preload/pages/index.js:17
  return fetch(`https://api.github.com/repos/${project}`).then(data => {

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 #d91142a9f9581c58 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/examples/refetch-interval/libs/fetch.js:2
  const res = await fetch(...args)

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 #6a42ceb45217b12a 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/examples/refetch-interval/pages/index.js:23
        await fetch(`/api/data?add=${value}`)

Data is sent to a hardcoded external endpoint; review what leaves the process.

Fix: Verify the destination and that only non-sensitive data is sent; pin and audit the dependency.

low egress tooling Excluded from app score unknown #387292488d6b8945 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/examples/server-render/libs/fetcher.js:2
  const res = await fetch(...args)

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 #4efc0259686af968 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/examples/suspense-global/libs/fetch.ts:2
  const res = await fetch(...args)

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 #22de361ac5ac9674 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/examples/suspense-global/pages/api/data.ts:27
      fetch(`https://api.github.com/repos/${req.query.id}`)

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 #5d127ab6170729e1 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/examples/suspense/libs/fetch.js:2
  const res = await fetch(...args)

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 #0183419511cfaaad 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/examples/suspense/pages/api/data.js:17
      fetch(`https://api.github.com/repos/${req.query.id}`)

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 #224aeedc16d74966 Environment-variable access.
pkgs/npm/[email protected]__reposrc/playwright.config.js:6
    reuseExistingServer: !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 tooling Excluded from app score unknown #95d96eb0799ef899 Environment-variable access.
pkgs/npm/[email protected]__reposrc/playwright.config.js:17
  forbidOnly: !!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 tooling Excluded from app score unknown #cca4cd7a44e9df9d Environment-variable access.
pkgs/npm/[email protected]__reposrc/playwright.config.js:19
  retries: process.env.CI ? 2 : 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 tooling Excluded from app score unknown #631d918497cf981f Environment-variable access.
pkgs/npm/[email protected]__reposrc/playwright.config.js:21
  workers: process.env.CI ? 1 : 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 tooling Excluded from app score unknown #63559d7fc129b013 Environment-variable access.
pkgs/npm/[email protected]__reposrc/playwright.config.js:23
  reporter: 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 tooling Excluded from app score unknown #5d15e424132f2da4 Environment-variable access.
pkgs/npm/[email protected]__reposrc/playwright.config.js:30
    trace: process.env.CI ? 'on-first-retry' : 'on',

Reads environment variables or the filesystem — an inventory-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 #d9efd20ea02c39c9 Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/bump-next-version.js:1
const fs = require('fs')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #43e1e9119ab4aac9 Filesystem access.
pkgs/npm/[email protected]__reposrc/scripts/bump-next-version.js:7
const packageJsonData = fs.readFileSync(packageJsonPath, 'utf8')

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #8db6bc940af9a752 Environment-variable access.
pkgs/npm/[email protected]__reposrc/scripts/bump-next-version.js:11
const releaseType = process.env.RELEASE_TYPE || 'beta'

Reads environment variables or the filesystem — an inventory-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 #5cc365cbf5b6e490 Environment-variable access.
pkgs/npm/[email protected]__reposrc/scripts/bump-next-version.js:12
const semverType = process.env.SEMVER_TYPE

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs tooling Excluded from app score unknown #e3a8e048d3c8b0c0 Environment-variable access.
pkgs/npm/[email protected]__reposrc/scripts/bump-next-version.js:15
  if (process.env.DRY_RUN) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

ws

npm dependency
expand_more 2 low-confidence finding(s)
low env_fs dependency Excluded from app score #b06f2ea0792eb274 Environment-variable access.
pkgs/npm/[email protected]/lib/buffer-util.js:115
if (!process.env.WS_NO_BUFFER_UTIL) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

low env_fs dependency Excluded from app score #3ab93086e4588e15 Environment-variable access.
pkgs/npm/[email protected]/lib/validation.js:142
} /* istanbul ignore else  */ else if (!process.env.WS_NO_UTF_8_VALIDATE) {

Reads environment variables or the filesystem — an inventory-level capability, not a leak on its own.

Fix: Usually benign; confirm any secret read here is not later sent externally.

Skipped dependencies

Production

  • fumadocs-core prod — dist-only: no readable source
  • fumadocs-ui prod — dist-only: no readable source
  • @vercel/oidc prod — dist-only: no readable source
  • @workflow/serde prod — dist-only: no readable source
  • @ai-sdk/gateway prod — scan budget exceeded
  • swrv prod — scan budget exceeded
  • @konsistent/convention prod — scan budget exceeded
  • express prod — scan budget exceeded
  • @ai-sdk/react prod — scan budget exceeded
  • @vercel/functions prod — scan budget exceeded
  • sonner prod — scan budget exceeded
  • @ai-sdk/vue prod — scan budget exceeded
  • @ai-sdk/alibaba prod — scan budget exceeded
  • @ai-sdk/amazon-bedrock prod — scan budget exceeded
  • @ai-sdk/anthropic-aws prod — scan budget exceeded
  • @ai-sdk/assemblyai prod — scan budget exceeded
  • @ai-sdk/azure prod — scan budget exceeded
  • @ai-sdk/baseten prod — scan budget exceeded
  • @ai-sdk/black-forest-labs prod — scan budget exceeded
  • @ai-sdk/bytedance prod — scan budget exceeded
  • @ai-sdk/cartesia prod — scan budget exceeded
  • @ai-sdk/cerebras prod — scan budget exceeded
  • @ai-sdk/cohere prod — scan budget exceeded
  • @ai-sdk/deepgram prod — scan budget exceeded
  • @ai-sdk/deepinfra prod — scan budget exceeded
  • @ai-sdk/devtools prod — scan budget exceeded
  • @ai-sdk/elevenlabs prod — scan budget exceeded
  • @ai-sdk/fal prod — scan budget exceeded
  • @ai-sdk/fireworks prod — scan budget exceeded
  • @ai-sdk/gladia prod — scan budget exceeded
  • @ai-sdk/google-vertex prod — scan budget exceeded
  • @ai-sdk/groq prod — scan budget exceeded
  • @ai-sdk/harness-claude-code prod — scan budget exceeded
  • @ai-sdk/harness-codex prod — scan budget exceeded
  • @ai-sdk/harness-deepagents prod — scan budget exceeded
  • @ai-sdk/harness-opencode prod — scan budget exceeded
  • @ai-sdk/harness-pi prod — scan budget exceeded
  • @ai-sdk/huggingface prod — scan budget exceeded
  • @ai-sdk/hume prod — scan budget exceeded
  • @ai-sdk/klingai prod — scan budget exceeded
  • @ai-sdk/langchain prod — scan budget exceeded
  • @ai-sdk/lmnt prod — scan budget exceeded
  • @ai-sdk/luma prod — scan budget exceeded
  • @ai-sdk/mistral prod — scan budget exceeded
  • @ai-sdk/moonshotai prod — scan budget exceeded
  • @ai-sdk/open-responses prod — scan budget exceeded
  • @ai-sdk/otel prod — scan budget exceeded
  • @ai-sdk/perplexity prod — scan budget exceeded
  • @ai-sdk/prodia prod — scan budget exceeded
  • @ai-sdk/quiverai prod — scan budget exceeded
  • @ai-sdk/replicate prod — scan budget exceeded
  • @ai-sdk/revai prod — scan budget exceeded
  • @ai-sdk/sandbox-just-bash prod — scan budget exceeded
  • @ai-sdk/sandbox-vercel prod — scan budget exceeded
  • @ai-sdk/togetherai prod — scan budget exceeded
  • @ai-sdk/tui prod — scan budget exceeded
  • @ai-sdk/valibot prod — scan budget exceeded
  • @ai-sdk/vercel prod — scan budget exceeded
  • @ai-sdk/voyage prod — scan budget exceeded
  • @ai-sdk/xai prod — scan budget exceeded
  • @google/generative-ai prod — scan budget exceeded
  • @langfuse/otel prod — scan budget exceeded
  • @opentelemetry/auto-instrumentations-node prod — scan budget exceeded
  • @opentelemetry/sdk-node prod — scan budget exceeded
  • @opentelemetry/sdk-trace-node prod — scan budget exceeded
  • arktype prod — scan budget exceeded
  • effect prod — scan budget exceeded
  • image-type prod — scan budget exceeded
  • mathjs prod — scan budget exceeded
  • sharp prod — scan budget exceeded
  • terminal-image prod — scan budget exceeded
  • undici prod — scan budget exceeded
  • @vercel/blob prod — scan budget exceeded
  • react-markdown prod — scan budget exceeded
  • resumable-stream prod — scan budget exceeded
  • geist prod — scan budget exceeded
  • @ai-sdk/angular prod — scan budget exceeded
  • @angular/common prod — scan budget exceeded
  • @angular/compiler prod — scan budget exceeded
  • @angular/core prod — scan budget exceeded
  • @angular/forms prod — scan budget exceeded
  • @angular/platform-browser prod — scan budget exceeded
  • @angular/platform-browser-dynamic prod — scan budget exceeded
  • @angular/router prod — scan budget exceeded
  • tslib prod — scan budget exceeded
  • @opentelemetry/api-logs prod — scan budget exceeded
  • @opentelemetry/instrumentation prod — scan budget exceeded
  • @opentelemetry/sdk-logs prod — scan budget exceeded
  • @sentry/nextjs prod — scan budget exceeded
  • @sentry/opentelemetry prod — scan budget exceeded
  • @vercel/otel prod — scan budget exceeded
  • @upstash/ratelimit prod — scan budget exceeded
  • @vercel/kv prod — scan budget exceeded
  • @ai-sdk/rsc prod — scan budget exceeded
  • @langfuse/tracing prod — scan budget exceeded
  • @radix-ui/react-use-controllable-state prod — scan budget exceeded
  • redis prod — scan budget exceeded
  • @ai-sdk/workflow prod — scan budget exceeded
  • @ai-sdk/workflow-harness prod — scan budget exceeded
  • fastify prod — scan budget exceeded
  • @nestjs/common prod — scan budget exceeded
  • @nestjs/core prod — scan budget exceeded
  • @nestjs/platform-express prod — scan budget exceeded
  • reflect-metadata prod — scan budget exceeded
  • rxjs prod — scan budget exceeded
  • @langchain/langgraph-cli prod — scan budget exceeded
  • @langchain/openai prod — scan budget exceeded