Close Open Privacy Scan

bolt Snapshot: commit e6c58d5
science engine v1.22
schedule 2026-07-21T00:17:29.255276+00:00

verified_user Possible application data leak

Potential data exfiltration identified in application code.

App Privacy Score

42 /100
High privacy risk — possible application leak

High risk · 351 finding(s)

Dependency score: 97 (Low risk)

bar_chart Score Breakdown

telemetry −25
egress −15
pii_flow −15
env_fs −3

list Scan Summary

0 high 5 medium 346 low
First-party packages: 5
Dependency packages: 2
Ecosystem: python

swap_horiz Potential data exfiltration in application code

External domains: ::ffff:192.168.0.1a.coaka.msaomedia.orgapi-inference.huggingface.coapi.cloudflare.comapi.github.comapi.gradio.appapi.sql.cloudflarestorage.comassets.babylonjs.comaws.amazon.combec81a83-5b5c-471e.gradio.livebrotlipy.readthedocs.iocatalog-staging.cloudflarestorage.comcatalog.cloudflarestorage.comcdn-media.huggingface.cocdn.babylonjs.comcdn.jsdelivr.netcdnjs.cloudflare.comchallenges.cloudflare.comcloud.google.comcommonmark.orgcompat.spec.whatwg.orgdash.cloudflare.comdatasets-server.huggingface.codatatracker.ietf.orgdevblogs.microsoft.comdeveloper.mozilla.orgdevelopers.cloudflare.comdevtools.devprod.cloudflare.devdocker.iodocs.aws.amazon.comdocs.docker.comdocs.python.orgdogs.are.greatdrafts.csswg.orgdummy.comen.wikipedia.orgeslint.orgeslint.styleevilmartians.comfd00:ec2::254ffmpeg.orgfonts.googleapis.comframework-info.netlify.appgit.iogithub.comgradio-builds.s3.amazonaws.comgradio-docs-json.s3.us-west-2.amazonaws.comgradio-lite-previews.s3.amazonaws.comgradio-space-api-fetcher-v2.hf.spacegradio-static-files.s3.us-west-2.amazonaws.comgradio.appgradio.livehandlebarsjs.comhf.spacehttpbin.orghuggingface.coimage_url.jpgimg.shields.iojestjs.iojson-schema.orgkatex.orgkit.svelte.devkroki.iomsdn.microsoft.commswjs.iomydomain.commüller.denodejs.orgnotify.bugsnag.comnotify.insighthub.smartbear.comnpmjs.comopencode.aiother.comowasp.orgpillow.readthedocs.ioplatform.dash.cloudflare.complayground-worker.pages.devplaywright.devportal.ssoportal.sso-fipsprettier.iopypi.orgraw.githubusercontent.comreact-native.canny.ioregistry.cloudflare.comregistry.npmjs.orgrollupjs.orgrouter.huggingface.cos3-fips.dualstacks3.amazonaws.coms3.dualstacksentry10.cfdata.orgsessions.bugsnag.comsessions.insighthub.smartbear.comsnippet.babylonjs.comstackoverflow.comstatic.cloudflareinsights.comstatus.gradio.appsts.amazonaws.comsvelte.devsveltejs.github.iosvgwg.orgtailwindcss.comtools.ietf.orgtry.cloudflare.comtwitter.comtypescript-eslint.iounpkg.comupdate.argotunnel.comv4.svelte.devvega.github.iovolta.shw3c.github.iowebplatform.github.iowelcome.developers.workers.devworkers.cloudflare.comwww.cloudflare.comwww.ffmpeg.orgwww.geeksforgeeks.orgwww.github.comwww.gradio.appwww.mozilla.orgwww.npmjs.comwww.rfc-editor.orgwww.typescriptlang.orgwww.w3.orgwww.w3ctech.comxn--fiqs8s.icom.museumyargs.js.orgyarnpkg.com

medium first-party (npm): gradio PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/gradio/cli/commands/hf_login.py:26 repo/gradio/cli/commands/hf_login.py:27

</> First-Party Code

first-party (npm): gradio

python first-party
medium pii_flow production #38dc3c95f1ff10fa PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process.
repo/gradio/cli/commands/hf_login.py:27 · flow /tmp/closeopen-dhspeach/repo/gradio/cli/commands/hf_login.py:26 → /tmp/closeopen-dhspeach/repo/gradio/cli/commands/hf_login.py:27
            print(
                f"🔓  Logged in to Hugging Face as {user}. You can logout at any time with: unset HF_TOKEN\n"
            )

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.

medium telemetry production #4224864b8846bd5d Telemetry/analytics SDK usage detected. Confirm user consent and that no PII is sent without a lawful basis.
repo/gradio/ipython_ext.py:86
            reloader.track(demo)

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 production #be75a6293838f927 Telemetry/analytics SDK usage detected. Confirm user consent and that no PII is sent without a lawful basis.
repo/gradio/route_utils.py:581
            self.track(upload_id)

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 production #1df8b8dc7fb500a8 Telemetry/analytics SDK usage detected. Confirm user consent and that no PII is sent without a lawful basis.
repo/gradio/route_utils.py:600
            self.track(upload_id)

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 production #28c1e4d0694b50ed Telemetry/analytics SDK usage detected. Confirm user consent and that no PII is sent without a lawful basis.
repo/gradio/route_utils.py:1375
        upload_progress.track(upload_id)

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 223 low-confidence finding(s)
low env_fs production #05ef5f54ce70c7bd Environment-variable access.
repo/gradio/analytics.py:46
    return os.getenv("GRADIO_ANALYTICS_ENABLED", "True") == "True"

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

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

low env_fs production #fc55ba9f01f48deb Environment-variable access.
repo/gradio/blocks.py:1127
            os.environ["HF_HUB_DISABLE_TELEMETRY"] = "True"

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

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

low env_fs production #45be70678af36560 Environment-variable access.
repo/gradio/blocks.py:1161
        self.dev_mode = bool(os.getenv("GRADIO_WATCH_DIRS", ""))

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

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

low env_fs production #1fe638556b11881e Environment-variable access.
repo/gradio/blocks.py:1162
        self.vibe_mode = bool(os.getenv("GRADIO_VIBE_MODE", ""))

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

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

low env_fs production #bbcc0d8035796a79 Environment-variable access.
repo/gradio/blocks.py:1179
        self.root_path = os.environ.get("GRADIO_ROOT_PATH", "")

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

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

low env_fs production #aabfc7fb8eed5e91 Filesystem access.
repo/gradio/blocks.py:2602
            with open(css_path, encoding="utf-8") as css_file:

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

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

low env_fs production #6270ed2ce4279466 Filesystem access.
repo/gradio/blocks.py:2608
            with open(head_path, encoding="utf-8") as head_file:

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

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

low env_fs production #38e513cb350c5e6c Environment-variable access.
repo/gradio/blocks.py:2623
            else os.getenv("GRADIO_SSR_MODE", "False").lower() == "true"

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

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

low env_fs production #d5541b6c73c9bb2f Environment-variable access.
repo/gradio/blocks.py:2804
            self.root_path = os.environ.get("GRADIO_ROOT_PATH", "")

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

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

low env_fs production #8ba7dc268a8caead Environment-variable access.
repo/gradio/blocks.py:2814
            allowed_paths_env = os.environ.get("GRADIO_ALLOWED_PATHS", "")

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

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

low env_fs production #822fc7418118548b Environment-variable access.
repo/gradio/blocks.py:2825
            blocked_paths_env = os.environ.get("GRADIO_BLOCKED_PATHS", "")

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

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

low env_fs production #51d134e1a4cfad8c Environment-variable access.
repo/gradio/blocks.py:2858
            env_val = os.environ.get("GRADIO_NUM_WORKERS")

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

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

low env_fs production #175444e5e4b5cae4 Environment-variable access.
repo/gradio/blocks.py:2872
            self.node_path = os.environ.get("GRADIO_NODE_PATH", get_node_path())

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

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

low env_fs production #4d57407cd5688539 Environment-variable access.
repo/gradio/blocks.py:2873
            is_dev_mode = os.getenv("GRADIO_LOCAL_DEV_MODE") is not None

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

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

low env_fs production #0aabf3076b7ebce8 Environment-variable access.
repo/gradio/blocks.py:2897
                    os.getenv("GRADIO_SERVER_PORT", str(INITIAL_PORT_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 #9058f9f30d8fba7b Environment-variable access.
repo/gradio/blocks.py:2899
                python_host = server_name or os.getenv(
                    "GRADIO_SERVER_NAME", "127.0.0.1"
                )

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

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

low egress production #4964c9bc1ba6e4af Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/blocks.py:3087
            resp = httpx.get(
                f"{self.local_api_url}startup-events",
                verify=ssl_verify,
                timeout=None,
            )

Data is sent to a hardcoded external 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 #f8990838ad473f4e Environment-variable access.
repo/gradio/blocks.py:3106
                share_env = os.getenv("GRADIO_SHARE")

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

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

low env_fs production #f12eabd1e59e2001 Environment-variable access.
repo/gradio/blocks.py:3281
            or int(os.getenv("GRADIO_DEBUG", "0")) == 1

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

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

low env_fs production #8d5953728ffc9a21 Environment-variable access.
repo/gradio/chat_interface.py:226
            flagging_mode = os.getenv("GRADIO_CHAT_FLAGGING_MODE", "never")  # type: ignore

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

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

low env_fs production #1c02f24d8e9cb7d7 Environment-variable access.
repo/gradio/cli/cli.py:74
        os.environ["GRADIO_VIBE_MODE"] = "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 #00a2faea22d03afa Filesystem access.
repo/gradio/cli/cli.py:86
            with open(demo_path, "w") as f:

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

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

low env_fs production #fd44da464446761b Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:262
        Path(local_js_dir / name.split("/")[1] / "package.json").read_text()

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

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

low env_fs production #d9c3a876351bcc8e Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:344
    source_package_json = json.loads(Path(frontend / "package.json").read_text())

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

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

low env_fs production #690587731c762d94 Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:350
    (frontend / "package.json").write_text(json.dumps(source_package_json, indent=2))

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

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

low env_fs production #9c17a929a25a69bb Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:419
    (directory / "README.md").write_text(readme_contents)

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

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

low env_fs production #be7e9e74fc04bd5e Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:425
    gitignore_contents = gitignore.read_text()

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

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

low env_fs production #a8f76bbf6ff5ceb2 Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:427
    gitignore_dest.write_text(gitignore_contents)

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

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

low env_fs production #acf698bf4929fddf Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:430
    pyproject_contents = pyproject.read_text()

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

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

low env_fs production #eab5f09920cfc275 Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:435
    pyproject_dest.write_text(pyproject_contents)

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

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

low env_fs production #4e8afea86b70bb31 Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:440
    (demo_dir / "app.py").write_text(
        f"""
import gradio as gr
from {package_name} import {name}

{component.demo_code.format(name=name)}

if __name__ == "__main__":
    demo.launch()
"""
    )

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

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

low env_fs production #7f32bd2686a2a75f Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:454
    init.write_text(
        f"""
from .{name.lower()} import {name}

__all__ = ['{name}']
"""
    )

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

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

low env_fs production #1d61e4d21f7bb1d1 Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:475
    content = python_file.read_text()

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

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

low env_fs production #e585f0409d2ba281 Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:478
    python_file.write_text(content)

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

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

low env_fs production #1aa4956e68694639 Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:480
        pyi_content = pyi_file.read_text()

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

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

low env_fs production #8da5c884614b135e Filesystem access.
repo/gradio/cli/commands/components/_create_utils.py:483
        pyi_file.write_text(pyi_content)

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

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

low env_fs production #1c4f97aed83e9dc3 Filesystem access.
repo/gradio/cli/commands/components/build.py:62
        pyproject_toml = parse((path / "pyproject.toml").read_text())

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

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

low env_fs production #dd9fb98b40aaf338 Filesystem access.
repo/gradio/cli/commands/components/build.py:81
            pyproject_toml = parse((path / "pyproject.toml").read_text())

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

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

low env_fs production #e3e796ae98ef1737 Filesystem access.
repo/gradio/cli/commands/components/build.py:90
            with open(path / "pyproject.toml", "w", encoding="utf-8") as f:

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

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

low env_fs production #d0a525c2c08e9aa7 Filesystem access.
repo/gradio/cli/commands/components/create.py:145
            pyproject_toml = parse((directory / "pyproject.toml").read_text())

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

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

low env_fs production #cd5ff91d61595b41 Filesystem access.
repo/gradio/cli/commands/components/create.py:187
                with open(directory / "pyproject.toml", "w", encoding="utf-8") as f:

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

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

low env_fs production #c38d2986d1f8217c Filesystem access.
repo/gradio/cli/commands/components/create.py:190
        (directory / "demo" / "requirements.txt").write_text(package_name)

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

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

low env_fs production #7a61f0510763d706 Filesystem access.
repo/gradio/cli/commands/components/create.py:193
        readme_contents = readme_path.read_text()

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

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

low env_fs production #908ded579c8befdf Filesystem access.
repo/gradio/cli/commands/components/create.py:202
        (directory / "README.md").write_text(readme_contents)

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

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

low env_fs production #569ab35454b47136 Filesystem access.
repo/gradio/cli/commands/components/docs.py:89
        with open(_component_dir / "pyproject.toml", encoding="utf-8") as f:

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

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

low env_fs production #8d907b10e82ddf42 Filesystem access.
repo/gradio/cli/commands/components/docs.py:133
    with open(_demo_path, encoding="utf-8") as f:

Reads environment variables or the filesystem — 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 #5ebce3d7de9cf4bb Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/cli/commands/components/docs.py:136
    pypi_exists = httpx.get(f"https://pypi.org/pypi/{name}/json").status_code

Data is sent to a hardcoded external 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 #e33e96b845028b8d Filesystem access.
repo/gradio/cli/commands/components/docs.py:174
        with open(_demo_dir / "space.py", "w", encoding="utf-8") as f:

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

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

low env_fs production #aa89bf906e90d611 Filesystem access.
repo/gradio/cli/commands/components/docs.py:180
        with open(_demo_dir / "css.css", "w", encoding="utf-8") as f:

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

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

low env_fs production #774ab8f47ea2eb04 Filesystem access.
repo/gradio/cli/commands/components/docs.py:190
        readme_content = Path(_readme_path).read_text()

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

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

low env_fs production #bd18e4f3a9a0cb60 Filesystem access.
repo/gradio/cli/commands/components/docs.py:192
        with open(_readme_path, "w", encoding="utf-8") as f:

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

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

low env_fs production #672d0e90f7f23c0c Filesystem access.
repo/gradio/cli/commands/components/publish.py:243
            pyproject_toml = parse(pyproject_toml_path.read_text())

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

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

low env_fs production #1dbf4d5c4a8ea9f7 Filesystem access.
repo/gradio/cli/commands/deploy_space.py:42
            with open(file_path, encoding="utf-8", errors="ignore") as f:

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

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

low env_fs production #38364ca848bf9381 Filesystem access.
repo/gradio/cli/commands/deploy_space.py:86
            with open(requirements_file, "a", encoding="utf-8") as f:

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

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

low env_fs production #fea48cbd1eca8c05 Filesystem access.
repo/gradio/cli/commands/deploy_space.py:100
        with open(github_action_template, encoding="utf-8") as f:

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

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

low env_fs production #cbbeb75a306a003a Filesystem access.
repo/gradio/cli/commands/deploy_space.py:103
        with open(github_action_file, "w", encoding="utf-8") as f:

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

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

low env_fs production #cecdf4f11a0ffa5c Filesystem access.
repo/gradio/cli/commands/deploy_space.py:204
            with open(requirements_file, "w", encoding="utf-8") as f:

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

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

low env_fs production #e0918e2058164332 Filesystem access.
repo/gradio/cli/commands/deploy_space.py:211
        with open(requirements_file, encoding="utf-8") as f:

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

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

low env_fs production #d43eb60ca5c4a63c Filesystem access.
repo/gradio/cli/commands/deploy_space.py:220
            with open(requirements_file, "a", encoding="utf-8") as f:

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

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

low env_fs production #83253f4259be6c74 Environment-variable access.
repo/gradio/cli/commands/deploy_space.py:273
    if os.getenv("SYSTEM") == "spaces":

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

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

low env_fs production #c45a194446351997 Environment-variable access.
repo/gradio/cli/commands/hf_login.py:11
                os.environ["GRADIO_AUTO_LOGOUT"] = "false"

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

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

low env_fs production #cc2969935f4a9243 Environment-variable access.
repo/gradio/cli/commands/hf_login.py:15
                os.environ["GRADIO_AUTO_LOGOUT"] = "true"

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

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

low env_fs production #cf6eb3c8165605f7 Environment-variable access.
repo/gradio/cli/commands/hf_login.py:20
        os.environ["GRADIO_AUTO_LOGOUT"] = "true"

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

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

low env_fs production #fa501d8ed4ded73b Environment-variable access.
repo/gradio/cli/commands/hf_login.py:24
    if os.getenv("HF_TOKEN"):

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

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

low env_fs production #6395af7e2268f642 Environment-variable access.
repo/gradio/cli/commands/hf_login.py:26
            user = whoami(token=os.getenv("HF_TOKEN")).get("name")

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

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

low env_fs production #c4abb4490328771f Environment-variable access.
repo/gradio/cli/commands/load_chat.py:43
    resolved_token = token or os.getenv("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 production #e76ef343275d3551 Environment-variable access.
repo/gradio/cli/commands/reload.py:31
    if os.getenv("GRADIO_VIBE_MODE") and os.getenv("GRADIO_AUTO_LOGOUT") == "true":

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

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

low env_fs production #2dcafb75507a288c Environment-variable access.
repo/gradio/cli/commands/reload.py:124
        os.environ,

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

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

low env_fs production #8dcba5e7c7faa59f Environment-variable access.
repo/gradio/cli/commands/reload.py:132
    if "GRADIO_VIBE_MODE" in os.environ:

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

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

low env_fs production #b0f2c083f3a6dc5c Environment-variable access.
repo/gradio/cli/commands/reload.py:133
        env_vars["GRADIO_VIBE_MODE"] = os.environ["GRADIO_VIBE_MODE"]

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

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

low env_fs production #ea514cbe8283db60 Filesystem access.
repo/gradio/cli/commands/skills.py:110
        (dest / fname).write_text(content, encoding="utf-8")

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

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

low env_fs production #ccfbaa642e658c06 Filesystem access.
repo/gradio/cli/commands/skills.py:117
        (references_dir / fname).write_text(content, encoding="utf-8")

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

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

low env_fs production #b06522b2a3420822 Filesystem access.
repo/gradio/cli/commands/skills.py:134
        (dest / fname).write_text(content, encoding="utf-8")

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

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

low env_fs production #5379f1e98403ec09 Filesystem access.
repo/gradio/cli/commands/skills.py:278
    (dest / "SKILL.md").write_text(content, encoding="utf-8")

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

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

low env_fs production #b55496aafa80c0b6 Filesystem access.
repo/gradio/cli/commands/upload_mcp.py:32
        with open(target_path, "rb") as f:

Reads environment variables or the filesystem — 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 #4716df74b45dbc07 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/cli/commands/upload_mcp.py:33
            response = httpx.post(f"{url}/gradio_api/upload", files={"files": f})

Data is sent to a hardcoded external 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 #11902ea8718bffe6 Filesystem access.
repo/gradio/component_meta.py:122
    source_code = source_file.read_text(encoding="utf-8")

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

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

low env_fs production #d39eb6d99518dec2 Filesystem access.
repo/gradio/component_meta.py:146
            pyi_file.write_text("\n".join(lines))

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

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

low env_fs production #f76d21e50bb23fa9 Filesystem access.
repo/gradio/component_meta.py:149
            pyi_file.read_text(), class_name

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

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

low env_fs production #c1d0bfd887f9ad1b Filesystem access.
repo/gradio/component_meta.py:152
            with open(str(pyi_file), mode="a") as f:

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

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

low env_fs production #78596f476a12da73 Filesystem access.
repo/gradio/component_meta.py:155
            contents = pyi_file.read_text()

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

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

low env_fs production #3c3976b4f5ede070 Filesystem access.
repo/gradio/component_meta.py:157
            current_contents = pyi_file.read_text()

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

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

low env_fs production #78f5f32abac2d1e8 Filesystem access.
repo/gradio/component_meta.py:159
                pyi_file.write_text(contents)

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

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

low env_fs production #3e8b2dd496e16c40 Filesystem access.
repo/gradio/components/audio.py:361
            with open(file_path, "rb") as f:

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

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

low env_fs production #0c9a6dff6de782d5 Filesystem access.
repo/gradio/components/audio.py:421
                with open(file_path, encoding="utf-8") as f:

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

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

low env_fs production #ba32053d3f530586 Filesystem access.
repo/gradio/components/file.py:156
            with open(file_name, "rb") as file_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 #cec0174f4637afb2 Filesystem access.
repo/gradio/components/html.py:371
            with open(manifest_path) as f:

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

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

low env_fs production #4bdc147431d8c53e Filesystem access.
repo/gradio/components/label.py:141
            return LabelData(**json.loads(Path(value).read_text()))

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

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

low env_fs production #0661a3dfd1e34449 Filesystem access.
repo/gradio/components/upload_button.py:164
            with open(file_name, "rb") as file_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 #bdab95f21b1eb4b4 Filesystem access.
repo/gradio/components/video.py:414
                open(srt_file_path, encoding="utf-8") as srt_file,

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

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

low env_fs production #f1f118ad02c8b127 Filesystem access.
repo/gradio/components/video.py:415
                open(vtt_file_path, "w", encoding="utf-8") as vtt_file,

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

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

low env_fs production #ae00a51e9be58270 Filesystem access.
repo/gradio/components/video.py:428
                with open(file_path, encoding="utf-8") as f:

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

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

low env_fs production #1a6591484b0167ff Filesystem access.
repo/gradio/components/video.py:615
            "data": Path(ts_file).read_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 #02f76d2d6f233a5f Environment-variable access.
repo/gradio/external.py:87
        and os.environ.get("HF_TOKEN") is not None

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

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

low env_fs production #7b196524caa61395 Environment-variable access.
repo/gradio/external.py:89
        token = os.environ.get("HF_TOKEN")

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

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

low env_fs production #47e8e85f9aa3a0cf Environment-variable access.
repo/gradio/external.py:209
    GRADIO_CACHE = os.environ.get("GRADIO_TEMP_DIR") or str(  # noqa: N806

Reads environment variables or the filesystem — 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 #3453a2a6a7c9dc7a Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/external.py:215
        response = httpx.request("POST", api_url, headers=headers, content=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 production #f179a85081da5f0e Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/external.py:534
        httpx.get(
            f"https://huggingface.co/api/spaces/{space_name}/host", headers=headers
        )

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

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

low egress production #7000f9f052018317 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/external.py:546
    config_request = httpx.get(iframe_url + "/config", headers=headers)

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

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

low egress production #12951cbd11a0d056 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/external.py:548
        r = httpx.get(iframe_url, headers=headers)

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

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

low egress production #903feda6be484b8c Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/external.py:656
        response = httpx.post(api_url, headers=headers, data=data)  # type: ignore

Data is sent to a hardcoded external 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 #0b32c8690b72cdf2 Filesystem access.
repo/gradio/external.py:809
                f"\n## {Path(file).name}\n{Path(file).read_text()}"

Reads environment variables or the filesystem — 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 #b78bfe84dd379ab4 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/external.py:957
            response = httpx.get(openapi_spec)

Data is sent to a hardcoded external 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 #86607acc309a0e09 Filesystem access.
repo/gradio/external.py:961
            with open(openapi_spec) as f:

Reads environment variables or the filesystem — 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 #7415c21ce060d1be Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/external_utils.py:44
    readme = httpx.get(f"https://huggingface.co/{model_name}/resolve/main/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 production #475d3f0668b3b533 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/external_utils.py:390
                response = httpx.get(url, params=params, headers=headers)

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

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

low egress production #63e5046d8951dc6f Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/external_utils.py:392
                response = httpx.post(
                    url,
                    params=params,
                    content=body_data if is_file_upload else None,
                    json=body_data if not is_file_upload else None,
                    headers=headers,
                )

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

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

low egress production #55b1016604e48ff7 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/external_utils.py:400
                response = httpx.put(
                    url,
                    params=params,
                    content=body_data if is_file_upload else None,
                    json=body_data if not is_file_upload else None,
                    headers=headers,
                )

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

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

low env_fs production #cbbc9543606efee5 Filesystem access.
repo/gradio/flagging.py:109
        with open(log_filepath, "a", encoding="utf-8", newline="") as csvfile:

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

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

low env_fs production #338651d3fc86cb37 Filesystem access.
repo/gradio/flagging.py:113
        with open(log_filepath, encoding="utf-8") as csvfile:

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

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

low env_fs production #8359168622334a33 Filesystem access.
repo/gradio/flagging.py:186
        with open(log_filepath, "a", newline="", encoding="utf-8") as csvfile:

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

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

low env_fs production #bc7931f08471e14a Filesystem access.
repo/gradio/flagging.py:192
        with open(log_filepath, encoding="utf-8") as csvfile:

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

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

low env_fs production #975dfce6acee4179 Filesystem access.
repo/gradio/flagging.py:268
                with open(latest_file, newline="", encoding="utf-8") as csvfile:

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

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

low env_fs production #7621023249c6272c Filesystem access.
repo/gradio/flagging.py:283
            with open(
                self.dataset_filepath, "w", newline="", encoding="utf-8"
            ) as csvfile:

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

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

low env_fs production #ec0b380ae98081c4 Filesystem access.
repo/gradio/flagging.py:337
            with open(
                self.dataset_filepath, "a", newline="", encoding="utf-8"
            ) as csvfile:

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

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

low env_fs production #9b66f5a71de3a275 Filesystem access.
repo/gradio/flagging.py:342
            with open(self.dataset_filepath, encoding="utf-8") as csvfile:

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

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

low env_fs production #8a6254b442c96a38 Filesystem access.
repo/gradio/flagging.py:384
        with open(log_filepath, "a", encoding="utf-8", newline="") as csvfile:

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

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

low env_fs production #ba55ab9886640d3a Environment-variable access.
repo/gradio/helpers.py:158
                os.getenv("GRADIO_CACHE_EXAMPLES", "").lower() in ["true", "lazy"]

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

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

low env_fs production #8512c8071dade20e Environment-variable access.
repo/gradio/helpers.py:172
        if (cache_mode_env := os.getenv("GRADIO_CACHE_MODE")) and cache_mode is None:

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

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

low env_fs production #29f79ee384fd6086 Filesystem access.
repo/gradio/helpers.py:219
                with open(Path(examples) / LOG_FILE) as logs:

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

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

low env_fs production #258070845009a435 Environment-variable access.
repo/gradio/helpers.py:294
            os.environ.get("GRADIO_RESET_EXAMPLES_CACHE") == "True"

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

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

low env_fs production #7646028f678a57a6 Filesystem access.
repo/gradio/helpers.py:490
            with open(self.cached_indices_file) as f:

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

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

low env_fs production #d93da3bcbd820c1c Filesystem access.
repo/gradio/helpers.py:576
                with open(self.cached_indices_file, "a") as f:

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

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

low env_fs production #f63e572756493f12 Filesystem access.
repo/gradio/helpers.py:590
            with open(self.cached_indices_file) as f:

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

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

low env_fs production #d0512ca87321d765 Filesystem access.
repo/gradio/helpers.py:593
        with open(self.cached_file, encoding="utf-8") as cache:

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

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

low env_fs production #bda5b87f2485b114 Filesystem access.
repo/gradio/helpers.py:851
                kwargs["file"] = open(os.devnull, "w")  # noqa: SIM115

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

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

low env_fs production #ea3457edc469a5ef Environment-variable access.
repo/gradio/http_server.py:31
INITIAL_PORT_VALUE = int(os.getenv("GRADIO_SERVER_PORT", "7860"))

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

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

low env_fs production #9de4451fce6a5480 Environment-variable access.
repo/gradio/http_server.py:32
TRY_NUM_PORTS = int(os.getenv("GRADIO_NUM_PORTS", "100"))

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

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

low env_fs production #550b6327a79e6bbd Environment-variable access.
repo/gradio/http_server.py:33
LOCALHOST_NAME = os.getenv("GRADIO_SERVER_NAME", "127.0.0.1")

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

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

low env_fs production #3d130128013f8725 Environment-variable access.
repo/gradio/http_server.py:35
GRADIO_HOT_RELOAD = os.getenv("GRADIO_HOT_RELOAD", "false").lower()

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

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

low env_fs production #e65a420170dfd781 Environment-variable access.
repo/gradio/http_server.py:37
should_watch = bool(os.getenv("GRADIO_WATCH_DIRS", ""))

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

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

low env_fs production #af445f8ab3511626 Environment-variable access.
repo/gradio/http_server.py:39
    os.getenv("GRADIO_WATCH_DIRS", "").split(",") if should_watch else []

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

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

low env_fs production #0362ac0edb942243 Environment-variable access.
repo/gradio/http_server.py:41
GRADIO_WATCH_MODULE_NAME = os.getenv("GRADIO_WATCH_MODULE_NAME", "app")

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

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

low env_fs production #b313eb4b8ea0a066 Environment-variable access.
repo/gradio/http_server.py:42
GRADIO_WATCH_DEMO_NAME = os.getenv("GRADIO_WATCH_DEMO_NAME", "")

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

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

low env_fs production #f2be9cc53f170cf5 Environment-variable access.
repo/gradio/http_server.py:43
GRADIO_WATCH_DEMO_PATH = os.getenv("GRADIO_WATCH_DEMO_PATH", "")

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

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

low env_fs production #8c5f9f487cd75430 Environment-variable access.
repo/gradio/http_server.py:172
                    encoding=os.getenv("GRADIO_WATCH_ENCODING", "utf-8"),

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

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

low env_fs production #ef353872854ec793 Filesystem access.
repo/gradio/image_utils.py:237
    with open(image_file, "rb") as f:

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

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

low env_fs production #eb482332085f2d77 Filesystem access.
repo/gradio/image_utils.py:259
        with open(image_file) as file:

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

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

low env_fs production #102f9cd01f680852 Environment-variable access.
repo/gradio/interface.py:392
            self.flagging_mode = os.getenv("GRADIO_FLAGGING_MODE", "manual")

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

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

low env_fs production #1970875a1d33378e Environment-variable access.
repo/gradio/mcp.py:44
DEFAULT_TEMP_DIR = os.environ.get("GRADIO_TEMP_DIR") or str(

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

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

low env_fs production #5b21bdef06eba0fe Environment-variable access.
repo/gradio/networking.py:20
GRADIO_SHARE_SERVER_ADDRESS = os.getenv("GRADIO_SHARE_SERVER_ADDRESS")

Reads environment variables or the filesystem — 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 #6dbec96f28839ee2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/gradio/networking.py:37
            response = httpx.get(GRADIO_API_SERVER, timeout=30)

Data is sent to a hardcoded external 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 #a1f0ad2257c70a1f Filesystem access.
repo/gradio/networking.py:47
            with open(CERTIFICATE_PATH, "w") as f:

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

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

low env_fs production #cc5c7b87dc492c4c Environment-variable access.
repo/gradio/node_server.py:21
INITIAL_PORT_VALUE = int(os.getenv("GRADIO_SERVER_PORT", "7860"))

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

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

low env_fs production #cb6e7ed01c99d53d Environment-variable access.
repo/gradio/node_server.py:22
TRY_NUM_PORTS = int(os.getenv("GRADIO_NODE_NUM_PORTS", "100"))

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

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

low env_fs production #7b83095192420c31 Environment-variable access.
repo/gradio/node_server.py:23
LOCALHOST_NAME = os.getenv(
    "GRADIO_NODE_SERVER_NAME", os.getenv("GRADIO_SERVER_NAME", "127.0.0.1")
)

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

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

low env_fs production #502604e346b4526f Environment-variable access.
repo/gradio/node_server.py:24
    "GRADIO_NODE_SERVER_NAME", os.getenv("GRADIO_SERVER_NAME", "127.0.0.1")

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

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

low env_fs production #1472233f75a9613e Environment-variable access.
repo/gradio/node_server.py:70
        node_path=node_path or os.getenv("GRADIO_NODE_PATH"),

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

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

low env_fs production #9a8cc9b0fed4cd73 Environment-variable access.
repo/gradio/node_server.py:82
GRADIO_LOCAL_DEV_MODE = os.getenv("GRADIO_LOCAL_DEV_MODE") is not None

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

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

low env_fs production #6840c76c53407f4c Environment-variable access.
repo/gradio/node_server.py:115
            env = os.environ

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

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

low env_fs production #ec7cfc59f1d6746b Environment-variable access.
repo/gradio/oauth.py:17
OAUTH_CLIENT_ID = os.environ.get("OAUTH_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 production #ee2f3c8c8e0fa75d Environment-variable access.
repo/gradio/oauth.py:18
OAUTH_CLIENT_SECRET = os.environ.get("OAUTH_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 production #a45a360b2ec0f78a Environment-variable access.
repo/gradio/oauth.py:19
OAUTH_SCOPES = os.environ.get("OAUTH_SCOPES")

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

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

low env_fs production #009e0bbd6265f97b Environment-variable access.
repo/gradio/oauth.py:20
OPENID_PROVIDER_URL = os.environ.get("OPENID_PROVIDER_URL")

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

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

low env_fs production #ce274e59beb3ee02 Environment-variable access.
repo/gradio/oauth.py:133
                host = os.environ.get("SPACE_HOST")

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

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

low env_fs production #71beee3b0e9ba798 Environment-variable access.
repo/gradio/oauth.py:207
    if space_host := os.getenv("SPACE_HOST"):

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

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

low env_fs production #31c9378d57774840 Filesystem access.
repo/gradio/processing_utils.py:130
    with open(file_path, "rb") as f:

Reads environment variables or the filesystem — 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 #e0ea2a823b4d5ac0 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/processing_utils.py:304
    response = await sh.get(
        url, domain_whitelist=PUBLIC_HOSTNAME_WHITELIST, _transport=async_transport
    )

Data is sent to a hardcoded external endpoint; 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 #dd527735e94c564d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/processing_utils.py:316
        response = await sh.get(
            url, domain_whitelist=PUBLIC_HOSTNAME_WHITELIST, _transport=async_transport
        )

Data is sent to a hardcoded external 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 #4b6c091776806f3f Filesystem access.
repo/gradio/processing_utils.py:355
        open(full_temp_file_path, "wb") as f,

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

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

low env_fs production #a137dadec313aa58 Filesystem access.
repo/gradio/processing_utils.py:401
        with open(full_temp_file_path, "wb") as fb:

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

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

low env_fs production #61ede7f5637af853 Environment-variable access.
repo/gradio/profiling.py:12
PROFILING_ENABLED = os.environ.get("GRADIO_PROFILING", "").strip() in ("1", "true")

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

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

low env_fs production #76b572eec2c15704 Environment-variable access.
repo/gradio/queueing.py:157
            os.getenv("GRADIO_ANALYTICS_CACHE_FREQUENCY", "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 #75c27c172ced5605 Environment-variable access.
repo/gradio/queueing.py:263
        if default_concurrency_limit_env := os.environ.get(

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

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

low env_fs production #04be731514bb1667 Environment-variable access.
repo/gradio/queueing.py:263
        if default_concurrency_limit_env := os.environ.get(
            "GRADIO_DEFAULT_CONCURRENCY_LIMIT"
        ):

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

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

low env_fs production #36a7d9106e1de2ea Environment-variable access.
repo/gradio/route_utils.py:920
        if not strict_cors or os.getenv("GRADIO_LOCAL_DEV_MODE") is not None:  # type: ignore

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

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

low env_fs production #b8da066f92fb42fa Environment-variable access.
repo/gradio/route_utils.py:1181
DEFAULT_TEMP_DIR = os.environ.get("GRADIO_TEMP_DIR") or str(

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

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

low env_fs production #3b4eb18aca827e20 Environment-variable access.
repo/gradio/routes.py:325
            mcp_server = os.environ.get("GRADIO_MCP_SERVER", "False").lower() == "true"

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

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

low env_fs production #0c4e780a14bbb2f3 Filesystem access.
repo/gradio/routes.py:592
                    components = orjson.loads(path.read_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 #6912db6956028f0d Filesystem access.
repo/gradio/routes.py:713
                with open(directory / "state.json", "wb") as f:

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

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

low env_fs production #2cc320d1a6fda15d Filesystem access.
repo/gradio/routes.py:1037
                    Path(path).read_text(encoding="utf-8").encode()

Reads environment variables or the filesystem — 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 #230c15b276aa071d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/routes.py:1262
                        ) in app.get_blocks()._queue.pending_event_ids_session.get(
                            session_hash, []
                        ):

Data is sent to a hardcoded external endpoint; 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 #435755510300214b Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/routes.py:1428
                in blocks._queue.pending_event_ids_session.get(body.session_hash, {})

Data is sent to a hardcoded external endpoint; 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 #b91525a64a6ced5b Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/routes.py:1505
                    queue = blocks._queue.pending_messages_per_session.get(session_hash)

Data is sent to a hardcoded external 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 #8994b2102e2d8859 Filesystem access.
repo/gradio/routes.py:2129
            with open(GRADIO_WATCH_DEMO_PATH) as f:

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

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

low env_fs production #80c591f236412799 Filesystem access.
repo/gradio/routes.py:2135
            with open(snapshot_file, "w") as f:

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

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

low env_fs production #e72edd18f12c1564 Filesystem access.
repo/gradio/routes.py:2199
            with open(GRADIO_WATCH_DEMO_PATH, "w") as f:

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

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

low env_fs production #0ed29677c4b5812a Filesystem access.
repo/gradio/routes.py:2228
            with open(snapshot_file) as f:

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

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

low env_fs production #ea9d550666664836 Filesystem access.
repo/gradio/routes.py:2231
            with open(GRADIO_WATCH_DEMO_PATH, "w") as f:

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

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

low env_fs production #83b13b580cb905a1 Filesystem access.
repo/gradio/routes.py:2250
                with open(GRADIO_WATCH_DEMO_PATH) as f:

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

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

low env_fs production #5a2a10fb680bb655 Filesystem access.
repo/gradio/routes.py:2274
                with open(GRADIO_WATCH_DEMO_PATH, "w") as f:

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

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

low env_fs production #1d7f584c32a52258 Filesystem access.
repo/gradio/routes.py:2293
            with open(GRADIO_WATCH_DEMO_PATH) as f:

Reads environment variables or the filesystem — 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 #8b1c71bf22620f4c Hardcoded external endpoint. Review what data is sent to this destination.
repo/gradio/routes.py:2438
            response = client.get("https://www.gradio.app/llms.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 env_fs production #18d1702f1ed85ef6 Environment-variable access.
repo/gradio/routes.py:2586
        blocks.node_path = os.environ.get("GRADIO_NODE_PATH", get_node_path())

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

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

low env_fs production #9fce93856451e90d Environment-variable access.
repo/gradio/screen_recording_utils.py:8
DEFAULT_TEMP_DIR = os.environ.get("GRADIO_TEMP_DIR") or str(

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

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

low env_fs production #437c9670e4d45ebb Filesystem access.
repo/gradio/screen_recording_utils.py:69
                with open(concat_file, "w") as f:

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

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

low env_fs production #08632cbe71f6b4a4 Environment-variable access.
repo/gradio/server.py:288
        os.environ["GRADIO_SERVER_MODE_ENABLED"] = "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 #81ab317f3562bb1a Environment-variable access.
repo/gradio/state_holder.py:80
            1 if os.getenv("GRADIO_IS_E2E_TEST", None) else 3600

Reads environment variables or the filesystem — 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 #a3b946d5b5c6acbf Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/static_server.py:227
                    r = httpx.get(f"http://127.0.0.1:{port}/health", timeout=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 env_fs production #1c13804e037400f6 Filesystem access.
repo/gradio/themes/base.py:147
        with open(path, encoding="utf-8") as fp:

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

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

low env_fs production #d8bfdeee944bddda Filesystem access.
repo/gradio/themes/base.py:189
        Path(filename).write_text(json.dumps(self.to_dict(), cls=fonts.FontEncoder))

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

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

low env_fs production #04544bf2036d0142 Filesystem access.
repo/gradio/themes/base.py:322
            contents = (Path(__file__).parent / "app.py").read_text()

Reads environment variables or the filesystem — 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 #b15994c7a9c3119e Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/tunneling.py:86
            resp = httpx.get(BINARY_URL, timeout=30)

Data is sent to a hardcoded external 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 #4d4cd572f005981b Filesystem access.
repo/gradio/tunneling.py:97
            with open(BINARY_PATH, "wb") as file:

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

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

low env_fs production #580413d8977663ed Filesystem access.
repo/gradio/tunneling.py:104
                with open(BINARY_PATH, "rb") as f:

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

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

low env_fs production #320eb0ca53b39fbb Filesystem access.
repo/gradio/utils.py:402
    no_reload_source_code = Path(str(reloader.demo_file)).read_text(
        encoding=reloader.encoding
    )

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

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

low env_fs production #62d05cc28debbc5f Filesystem access.
repo/gradio/utils.py:446
                no_reload_source_code = Path(str(reloader.demo_file)).read_text(
                    encoding=reloader.encoding
                )

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

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

low env_fs production #be8361a99cb3427b Environment-variable access.
repo/gradio/utils.py:579
        os.environ.get("KAGGLE_KERNEL_RUN_TYPE")

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

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

low env_fs production #1a76805e12eaaa40 Environment-variable access.
repo/gradio/utils.py:601
    if os.getenv("SYSTEM") == "spaces":

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

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

low env_fs production #75bff2bfe1909a90 Environment-variable access.
repo/gradio/utils.py:602
        return os.getenv("SPACE_ID")

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

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

low env_fs production #f92c2b4b92528f1a Environment-variable access.
repo/gradio/utils.py:607
    return os.getenv("SPACES_ZERO_GPU") == "true"

Reads environment variables or the filesystem — 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 #914af42bf4a371b1 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/utils.py:637
        response = httpx.get(article, timeout=3)

Data is sent to a hardcoded external 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 #9792eae67ffc9898 Filesystem access.
repo/gradio/utils.py:652
            with open(HASH_SEED_PATH) as j:

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

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

low env_fs production #31c10522989c1ee4 Filesystem access.
repo/gradio/utils.py:655
            with open(HASH_SEED_PATH, "w") as j:

Reads environment variables or the filesystem — 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 #7f0be0e175c74a42 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/utils.py:1033
            return httpx.get(
                possible_url, headers=headers, follow_redirects=True
            ).is_success

Data is sent to a hardcoded external 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 #39fe0c37d898b97e Environment-variable access.
repo/gradio/utils.py:1487
    return Path(os.environ.get("GRADIO_EXAMPLES_CACHE", ".gradio/cached_examples"))

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

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

low env_fs production #3c486a38fe7ad48f Environment-variable access.
repo/gradio/utils.py:1542
    return os.environ.get("GRADIO_TEMP_DIR") or str(

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

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

low env_fs production #1e17a09f3ce5b2d4 Environment-variable access.
repo/gradio/utils.py:1665
    interval = os.getenv("GRADIO_HEARTBEAT_INTERVAL")

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

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

low env_fs production #6fc0f9146023f28f Environment-variable access.
repo/gradio/utils.py:1685
    return 0.25 if os.getenv("GRADIO_IS_E2E_TEST") else 15

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

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

low env_fs production #e919378710ad0581 Environment-variable access.
repo/gradio/utils.py:1862
    env_node_path = os.environ.get("GRADIO_NODE_PATH")

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

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

low env_fs production #afa8ab1e34d6a26f Environment-variable access.
repo/gradio/utils.py:1907
    env_path = os.environ.get("PATH", "")

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

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

low env_fs production #9706c149d6c01a08 Filesystem access.
repo/gradio/workflow.py:82
        with open(_bundled_snapshot_path(), encoding="utf-8") as f:

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

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

low env_fs production #7a0fd16cef0386ed Filesystem access.
repo/gradio/workflow.py:100
        with open(local, encoding="utf-8") as f:

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

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

low env_fs production #a4e3e9754dd1d40d Environment-variable access.
repo/gradio/workflow.py:325
    owner = os.getenv("SPACE_AUTHOR_NAME") or space_id.split("/")[0]

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

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

low egress production #81d40a2d669d08fd Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/workflow.py:360
    resp = _HF_CLIENT.get(url, headers=headers, timeout=timeout)

Data is sent to a hardcoded external 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 #bc59d7ed07e04b15 Filesystem access.
repo/gradio/workflow.py:372
        with open(path, "wb") as f:

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

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

low env_fs production #8e79547819a5cd61 Environment-variable access.
repo/gradio/workflow.py:505
        if get_space() is not None and bool(os.getenv("OAUTH_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 egress production #4729dd0ba9b9bb4e Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/workflow.py:750
            resp = httpx.post(
                f"https://api-inference.huggingface.co/models/{model_id}",
                headers=headers,
                json={"inputs": _img_url(a0)},
                timeout=60,
            )

Data is sent to a hardcoded external endpoint; 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 #627e1ea000f36329 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/gradio/workflow.py:774
        fallback_resp = httpx.post(
            f"https://api-inference.huggingface.co/models/{model_id}",
            headers=headers,
            json={"inputs": a0 if not a1 else [a0, a1]},
            timeout=60,
        )

Data is sent to a hardcoded external 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 #f8acdd8be38dee75 Filesystem access.
repo/gradio/workflow.py:1340
                with open(self._workflow_file, encoding="utf-8") as f:

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

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

low env_fs production #4fd1abc0cb8949f7 Filesystem access.
repo/gradio/workflow.py:1476
                    with open(workflow_file, "w", encoding="utf-8") as f:

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

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

low env_fs production #aa1b3d10878ce71c Environment-variable access.
repo/gradio/workflow.py:1528
            if get_space() is not None and os.getenv("OAUTH_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 production #b3a8e7cf994caef4 Environment-variable access.
repo/gradio/workflow.py:1637
            or int(os.getenv("GRADIO_DEBUG", "0")) == 1

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

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

first-party (npm): client/python/gradio_client

python first-party
expand_more 22 low-confidence finding(s)
low env_fs production #6fe6905b6fb74cb4 Environment-variable access.
repo/client/python/gradio_client/client.py:56
DEFAULT_TEMP_DIR = os.environ.get("GRADIO_TEMP_DIR") or str(

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

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

low env_fs production #f48a3dc72071848e Environment-variable access.
repo/client/python/gradio_client/client.py:204
            analytics_enabled or os.getenv("GRADIO_ANALYTICS_ENABLED", "True") == "True"

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

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

low egress production #6b11c0ae8dfe7fc6 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/client.py:318
        req = httpx.post(
            self.sse_data_url,
            json={**data, **hash_data},
            headers=headers,
            cookies=self.cookies,
            verify=self.ssl_verify,
            **self.httpx_kwargs,
        )

Data is sent to a hardcoded external endpoint; 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 #8580f305205d93a8 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/client.py:597
            r = httpx.get(
                api_info_url,
                headers=self.headers,
                cookies=self.cookies,
                verify=self.ssl_verify,
                **self.httpx_kwargs,
            )

Data is sent to a hardcoded external endpoint; 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 #e2d308256cff0492 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/client.py:609
            fetch = httpx.post(
                utils.SPACE_FETCHER_URL,
                json={
                    "config": json.dumps(self.config),
                    "serialize": False,
                },
                headers=self.headers,
                cookies=self.cookies,
                verify=self.ssl_verify,
                **self.httpx_kwargs,
            )

Data is sent to a hardcoded external endpoint; 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 #382db83700ccf712 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/client.py:918
        resp = httpx.post(
            urllib.parse.urljoin(self.src, utils.LOGIN_URL),
            data={"username": auth[0], "password": auth[1]},
            verify=self.ssl_verify,
            **self.httpx_kwargs,
        )

Data is sent to a hardcoded external endpoint; 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 #f655568687864518 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/client.py:936
        r = httpx.get(
            urllib.parse.urljoin(self.src, utils.CONFIG_URL),
            headers=self.headers,
            cookies=self.cookies,
            verify=self.ssl_verify,
            **self.httpx_kwargs,
        )

Data is sent to a hardcoded external endpoint; 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 #0dc8e58faa62ebde Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/client.py:964
            r = httpx.get(
                self.src,
                headers=self.headers,
                cookies=self.cookies,
                verify=self.ssl_verify,
                **self.httpx_kwargs,
            )

Data is sent to a hardcoded external endpoint; 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 #6692813e7d35fc2e Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/client.py:1155
                httpx.post(
                    url,
                    json=post_data(),
                    headers=self.client.headers,
                    cookies=self.client.cookies,
                    verify=self.client.ssl_verify,
                    **self.client.httpx_kwargs,
                )

Data is sent to a hardcoded external 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 #0dab1d46b6e99ee7 Filesystem access.
repo/client/python/gradio_client/client.py:1304
            with open(file_path, "rb") as f_:

Reads environment variables or the filesystem — 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 #b977b22e8eaa3217 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/client.py:1306
                r = httpx.post(
                    self.client.upload_url,
                    headers=self.client.headers,
                    cookies=self.client.cookies,
                    verify=self.client.ssl_verify,
                    files=files,
                    **self.client.httpx_kwargs,
                )

Data is sent to a hardcoded external 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 #3e1b527ead124a0d Filesystem access.
repo/client/python/gradio_client/client.py:1352
            with open(temp_dir / Path(url_path).name, "wb") as f:

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

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

low env_fs production #58612720dd6c53df Environment-variable access.
repo/client/python/gradio_client/templates/discord_chat.py:17
DISCORD_TOKEN = os.getenv("DISCORD_TOKEN")

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

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

low env_fs production #87bb82316aa0e4ac Environment-variable access.
repo/client/python/gradio_client/templates/discord_chat.py:26
    client = grc.Client("<<app-src>>", token=os.getenv("HF_TOKEN"))

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

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

low egress production #2854f8caf2f4e670 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/utils.py:311
                return client.get(possible_url, headers=headers).is_success

Data is sent to a hardcoded external endpoint; 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 #72ce45bf081e01dd Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/utils.py:413
        httpx.post(
            helper.reset_url,
            json={"event_id": helper.event_id},
            headers=headers,
            cookies=cookies,
            verify=ssl_verify,
        )

Data is sent to a hardcoded external endpoint; 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 #df4e8392c3ce3d7f Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/utils.py:477
                        req = client.post(
                            sse_data_url,
                            json={"event_id": event_id, **data, **hash_data},
                            headers=headers,
                            cookies=cookies,
                        )

Data is sent to a hardcoded external 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 #4fd9dd36970b54ba Filesystem access.
repo/client/python/gradio_client/utils.py:657
        with open(file_path, "wb") as f:

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

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

low env_fs production #2e50202b37d569bc Filesystem access.
repo/client/python/gradio_client/utils.py:704
    with open(f, "rb") as 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 egress production #d61d94b1da83e0da Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/utils.py:717
    resp = httpx.get(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 production #ca583a53cfbdd29e Filesystem access.
repo/client/python/gradio_client/utils.py:840
    with open(file_path) as f:

Reads environment variables or the filesystem — 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 #ce9b69020989e96d Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/client/python/gradio_client/utils.py:858
        httpx.post(
            f"https://huggingface.co/api/spaces/{space_id}/sleeptime",
            json={"seconds": timeout_in_seconds},
            headers=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.

first-party (npm): js/_website

python first-party
expand_more 26 low-confidence finding(s)
low env_fs production #458f1db5251d772d Filesystem access.
repo/js/_website/generate_jsons/check_lite_demos.py:9
            with open(os.path.join("demo", demo, "requirements.txt"), "r") as f:

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

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

low env_fs production #7095e46ddbfba3a5 Environment-variable access.
repo/js/_website/generate_jsons/embed.py:11
url = os.getenv("TURSO_DATABASE_URL")

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

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

low env_fs production #fb812feebe675f8a Environment-variable access.
repo/js/_website/generate_jsons/embed.py:12
auth_token = os.getenv("TURSO_AUTH_TOKEN")

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

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

low env_fs production #ede26db3ac0ecc2f Filesystem access.
repo/js/_website/generate_jsons/embed.py:129
        with open(os.path.join("demo", demo, "requirements.txt"), "r") as f:

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

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

low env_fs production #26d5bc126418ac4f Filesystem access.
repo/js/_website/generate_jsons/generate.py:60
    with open(make_dir(ROOT_DIR, "client/js/package.json")) as f:

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

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

low env_fs production #8992bde754437fd8 Filesystem access.
repo/js/_website/generate_jsons/generate.py:62
    with open(make_dir(GRADIO_DIR, "package.json")) as f:

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

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

low env_fs production #db59086abbb063e8 Filesystem access.
repo/js/_website/generate_jsons/generate.py:64
        with open(make_dir(WEBSITE_DIR, "src/lib/json/version.json"), "w+") as j:

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

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

low env_fs production #0381b15152062c56 Filesystem access.
repo/js/_website/generate_jsons/generate.py:66
        with open(make_dir(WEBSITE_DIR, "src/lib/json/wheel.json"), "w+") as j:

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

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

low env_fs production #c0b88584036cf531 Filesystem access.
repo/js/_website/generate_jsons/generate.py:128
with open(make_dir(WEBSITE_DIR, "src/lib/json/system_prompt.json"), "w+") as f:

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

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

low env_fs production #1f47a22e17af4036 Filesystem access.
repo/js/_website/generate_jsons/src/changelog/__init__.py:10
    with open(CHANGELOG_FILE) as change_file:

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

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

low env_fs production #9b3470867ba8534e Filesystem access.
repo/js/_website/generate_jsons/src/changelog/__init__.py:22
    with open(json_path, 'w+') as f:

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

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

low env_fs test-only Excluded from app score #2e065977f133612b Filesystem access.
repo/js/_website/generate_jsons/src/demos/__init__.py:150
    with open(json_path, "w+") as f:

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

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

low env_fs production #9ec19989cc973a64 Filesystem access.
repo/js/_website/generate_jsons/src/docs/__init__.py:60
                with open(demo_file) as run_py:

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

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

low env_fs production #0fd67450aecda45c Filesystem access.
repo/js/_website/generate_jsons/src/docs/__init__.py:235
                with open(os.path.join(JS_DIR, js_component, "package.json")) as f:

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

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

low env_fs production #19c5b9a39f026d3f Filesystem access.
repo/js/_website/generate_jsons/src/docs/__init__.py:240
                with open(os.path.join(JS_DIR, js_component, "README.md")) as f:

Reads environment variables or the filesystem — 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 #b89d4b704e58276b Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/js/_website/generate_jsons/src/docs/__init__.py:244
                    latest_npm = requests.get(f"https://registry.npmjs.org/@gradio/{js_component}/latest").json()["version"]

Data is sent to a hardcoded external 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 #1c9f8cf80211e2a0 Filesystem access.
repo/js/_website/generate_jsons/src/docs/__init__.py:256
    with open(JS_CLIENT_README) as f:

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

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

low env_fs production #fd05cb64bbbdd9a7 Filesystem access.
repo/js/_website/generate_jsons/src/docs/__init__.py:339
    with open(demo_file) as run_py:

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

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

low env_fs production #dc0576901c758fc3 Filesystem access.
repo/js/_website/generate_jsons/src/docs/__init__.py:352
    with open(demo_file) as run_py:

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

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

low env_fs production #e64c0d4c24fc42dc Filesystem access.
repo/js/_website/generate_jsons/src/docs/__init__.py:364
    with open(demo_file) as run_py:

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

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

low env_fs production #39829ff29df917c4 Filesystem access.
repo/js/_website/generate_jsons/src/docs/__init__.py:421
    with open(json_path, "w+") as f:

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

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

low env_fs production #e3330b0ec4b28479 Filesystem access.
repo/js/_website/generate_jsons/src/guides/__init__.py:19
    with open(runfile) as run_py:

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

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

low env_fs production #4517894e9bf8d51a Filesystem access.
repo/js/_website/generate_jsons/src/guides/__init__.py:57
        with open(os.path.join(GUIDES_DIR, guide_folder, guide_file)) as f:

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

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

low env_fs production #5300b281e52bf224 Filesystem access.
repo/js/_website/generate_jsons/src/guides/__init__.py:175
    with open(json_path + "guides_by_category.json", "w+") as f:

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

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

low env_fs production #bded056c036e6f9f Filesystem access.
repo/js/_website/generate_jsons/src/guides/__init__.py:183
        with open(json_path + guide["name"] + ".json", "w+") as f:

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

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

low env_fs production #0e4517b22866817d Filesystem access.
repo/js/_website/generate_jsons/src/guides/__init__.py:185
    with open(json_path + "guide_names.json", "w+") as f:

Reads environment variables or the 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): js/preview

python first-party
expand_more 2 low-confidence finding(s)
low env_fs production #a2df81abeb5f669d Filesystem access.
repo/js/preview/src/examine.py:19
        with open("../pyproject.toml") as f:

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

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

low env_fs production #96a05f26b39fac8f Filesystem access.
repo/js/preview/src/examine.py:72
            with open("../pyproject.toml", "w") as f:

Reads environment variables or the 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 (python)

python first-party
expand_more 68 low-confidence finding(s)
low env_fs test-only Excluded from app score #8211e2c69aee99cd Environment-variable access.
repo/demo/all_demos/run.py:9
os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"

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

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

low egress test-only Excluded from app score #5e62dd15ffc9af58 Hardcoded external endpoint. Review what data is sent to this destination.
repo/demo/annotatedimage_component/run.py:8
building_image = requests.get("https://gradio-docs-json.s3.us-west-2.amazonaws.com/buildings.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 #ab1493ce5e675aac Environment-variable access.
repo/demo/autocomplete/run.py:5
hf_token = os.getenv("hf_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 #a0391a18384c8061 Environment-variable access.
repo/demo/automatic-speech-recognition/run.py:5
hf_token = os.getenv("hf_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 #a50c212287f34b6c Filesystem access.
repo/demo/cancel_events/run.py:10
    log_file.write_text("")

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

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

low env_fs test-only Excluded from app score #7684c7792f4d8d14 Environment-variable access.
repo/demo/chicago-bikeshare-dashboard/run.py:5
DB_USER = os.getenv("DB_USER")

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

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

low env_fs test-only Excluded from app score #deb66a52af9d11af Environment-variable access.
repo/demo/chicago-bikeshare-dashboard/run.py:6
DB_PASSWORD = os.getenv("DB_PASSWORD")

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

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

low env_fs test-only Excluded from app score #26e74a50656211c1 Environment-variable access.
repo/demo/chicago-bikeshare-dashboard/run.py:7
DB_HOST = os.getenv("DB_HOST")

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

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

low env_fs test-only Excluded from app score #c2c37236b6aac00e Filesystem access.
repo/demo/code/run.py:13
    return gr.Code(open(css_file).read(), language="css")

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

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

low env_fs test-only Excluded from app score #e9b7f237082b3926 Environment-variable access.
repo/demo/custom_path/run.py:57
    port = int(os.environ.get("GRADIO_SERVER_PORT", 8000))

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

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

low egress test-only Excluded from app score #713710c9d0057105 Hardcoded external endpoint. Review what data is sent to this destination.
repo/demo/dia_dialogue_demo/run.py:42
    response = await client.post(API_URL, headers=headers, json={"text": dialogue})

Data is sent to a hardcoded external endpoint; 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 #01a554779ed5a027 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/demo/fake_diffusion_with_gif/run.py:13
            response = requests.get(image)

Data is sent to a hardcoded external 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 #d8deba61de06119e Filesystem access.
repo/demo/file_explorer/run.py:11
    return Path(file).read_text()

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

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

low env_fs test-only Excluded from app score #61b636f93707b186 Filesystem access.
repo/demo/html_upload/run.py:29
    view_content_btn.click(lambda path: Path(path).read_text(), file_uploader, upload_content)

Reads environment variables or the filesystem — 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 #0f7bdd0b5e38fac2 Hardcoded external endpoint. Review what data is sent to this destination.
repo/demo/image_classification/run.py:7
response = requests.get("https://git.io/JJkYN")

Data is sent to a hardcoded external endpoint; 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 #ad395d49dc550391 Hardcoded external endpoint. Review what data is sent to this destination.
repo/demo/image_classifier/run.py:11
response = requests.get("https://git.io/JJkYN")

Data is sent to a hardcoded external endpoint; 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 #48b935b302e58fff Hardcoded external endpoint. Review what data is sent to this destination.
repo/demo/image_classifier_2/run.py:11
response = requests.get("https://git.io/JJkYN")

Data is sent to a hardcoded external 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 #2b6dc5520da55139 Filesystem access.
repo/demo/image_editor_story/run.py:8
    with open(path, "wb") as f:

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

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

low env_fs test-only Excluded from app score #ca7691f7c400f840 Filesystem access.
repo/demo/image_editor_story/run.py:9
        f.write(Path(im["composite"]).read_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 #aae78c77662d7fee Environment-variable access.
repo/demo/llm_hyperbolic/run.py:9
api_key = os.getenv("HYPERBOLIC_API_KEY")

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

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

low env_fs test-only Excluded from app score #0d8200484b3cab32 Environment-variable access.
repo/demo/llm_minimax/run.py:9
api_key = os.getenv("MINIMAX_API_KEY")

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

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

low env_fs test-only Excluded from app score #84668099f9471f29 Environment-variable access.
repo/demo/llm_sambanova/run.py:9
api_key = os.getenv("SAMBANOVA_API_KEY")

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

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

low env_fs test-only Excluded from app score #a929378475233779 Environment-variable access.
repo/demo/magic_8_ball/run.py:36
client = InferenceClient(token=os.getenv("HF_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 #021be9c6c90c39d7 Environment-variable access.
repo/demo/stable-diffusion/run.py:7
auth_token = os.getenv("HF_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 #7c5268a7f3a5015d Filesystem access.
repo/demo/stream_audio_out/run.py:49
                with open(audio_file, "rb") as f:

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

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

low env_fs test-only Excluded from app score #0c4a15bffbe850fa Filesystem access.
repo/demo/unload_event_test/run.py:11
    with open(log_file, "a") as f:

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

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

low env_fs test-only Excluded from app score #5e087a14f10a5b01 Filesystem access.
repo/demo/unload_event_test/run.py:29
    demo.load(lambda: log_file.write_text(""))

Reads environment variables or the filesystem — 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 #825d1b5ce1cce4d4 Hardcoded external endpoint. Review what data is sent to this destination.
repo/demo/yolov10_webcam_stream/inference.py:135
            requests.get(
                "https://live.staticflickr.com/13/19041780_d6fd803de0_3k.jpg"
            ).content

Data is sent to a hardcoded external 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 #73edf8a0cc6c9e45 Environment-variable access.
repo/demo/yolov10_webcam_stream/run.py:15
account_sid = os.environ.get("TWILIO_ACCOUNT_SID")

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

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

low env_fs test-only Excluded from app score #fdf9a335ce782757 Environment-variable access.
repo/demo/yolov10_webcam_stream/run.py:16
auth_token = os.environ.get("TWILIO_AUTH_TOKEN")

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

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

low env_fs production #068dcc54c743203d Filesystem access.
repo/render_readme.py:9
readme_template = Path(README_TEMPLATE_FILEPATH).read_text()

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

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

low env_fs production #8929af4f8e9a47c6 Filesystem access.
repo/render_readme.py:10
getting_started_template = Path(GETTING_STARTED_TEMPLATE_FILEPATH).read_text()

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

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

low env_fs production #1ed3b09094ed8033 Filesystem access.
repo/render_readme.py:21
    context = Path(f"demo/{src}/run.py").read_text()

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

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

low env_fs production #6ad9fa4a88242448 Filesystem access.
repo/render_readme.py:41
Path("README.md").write_text(f"{EDITING_NOTE}\n\n{readme_template}")

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

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

low env_fs test-only Excluded from app score #227a5ab4dc559d6e Filesystem access.
repo/scripts/build_workflow_curated.py:228
    with open(args.out, "w", encoding="utf-8") as f:

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

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

low env_fs test-only Excluded from app score #1a7e1672fe261265 Filesystem access.
repo/scripts/copy_demos.py:94
    pathlib.Path(reqs_file_path).write_text(textwrap.dedent(requirements))

Reads environment variables or the filesystem — 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 #81f193d656dc578a Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/scripts/download_artifacts.py:31
    artifacts = requests.get(
        WORKFLOW_RUN_ENDPOINT.format(owner=owner, repo=repo, run_id=run_id),
        headers=headers,
    ).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 test-only Excluded from app score #a984f610c15f1866 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/scripts/download_artifacts.py:49
    download = requests.get(
        ARTIFACT_DOWNLOAD_ENDPOINT.format(
            artifact_id=artifact_id,
            owner=owner,
            repo=repo,
        ),
        headers=headers,
    )

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

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

low env_fs test-only Excluded from app score #ba563173e268f383 Filesystem access.
repo/scripts/download_artifacts.py:57
    with open(f"{artifact_name}.zip", "wb") as f:

Reads environment variables or the filesystem — 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 #541110cc60f58352 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/scripts/download_offline_assets.py:81
    with urllib.request.urlopen(request, timeout=60, context=_ssl_context()) as response:

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

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

low env_fs test-only Excluded from app score #59a3d040069e48ab Filesystem access.
repo/scripts/format_release_notes.py:26
    with open(upcoming, "r") as latest:

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

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

low env_fs test-only Excluded from app score #3a92c444545ddd88 Filesystem access.
repo/scripts/format_release_notes.py:29
    with open(upcoming, "w") as latest:

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

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

low env_fs test-only Excluded from app score #9e01bcb0a0f44c28 Filesystem access.
repo/scripts/generate_css_vars_docs.py:89
    content = GUIDE_PATH.read_text()

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

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

low env_fs test-only Excluded from app score #e338185e690d9a4d Filesystem access.
repo/scripts/generate_css_vars_docs.py:102
    GUIDE_PATH.write_text(content)

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

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

low env_fs test-only Excluded from app score #0cbf90fc0541297c Filesystem access.
repo/scripts/generate_skill.py:93
        with open(runfile) as f:

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

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

low env_fs test-only Excluded from app score #dd6c2caa5e101fd2 Filesystem access.
repo/scripts/generate_skill.py:353
    with open(os.path.join(output_dir, "SKILL.md"), "w") as f:

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

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

low env_fs test-only Excluded from app score #6b872d436433ea27 Filesystem access.
repo/scripts/generate_skill.py:358
    with open(os.path.join(references_dir, "examples.md"), "w") as f:

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

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

low env_fs test-only Excluded from app score #4f6712d2e09a9e3f Filesystem access.
repo/scripts/generate_skill.py:362
    with open(os.path.join(references_dir, "api-signatures.md"), "w") as f:

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

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

low env_fs test-only Excluded from app score #01f2c0fc86058e28 Filesystem access.
repo/scripts/generate_skill.py:366
    with open(os.path.join(references_dir, "event-listeners.md"), "w") as f:

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

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

low env_fs test-only Excluded from app score #ca13d6378a5e09a5 Filesystem access.
repo/scripts/generate_skill.py:375
    with open(path1) as f1, open(path2) as f2:

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

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

low env_fs test-only Excluded from app score #48a35d5bb3e42089 Filesystem access.
repo/scripts/generate_skill.py:432
            with open(path) as f:

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

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

low env_fs test-only Excluded from app score #10b6d1bba5ea28ce Filesystem access.
repo/scripts/overwrite_xray_config.py:112
    with open(j, "w") as fp:

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

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

low env_fs test-only Excluded from app score #96e18d157230bcc8 Filesystem access.
repo/scripts/profile_e2e/analyze.py:72
        return json.loads(path.read_text())

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

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

low env_fs test-only Excluded from app score #27c76fca99f75264 Filesystem access.
repo/scripts/sync_frontend.py:22
    version = json.load(open(pathlib.Path(root) / "gradio" / "package.json"))["version"]

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

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

low env_fs test-only Excluded from app score #aa455b5dce6adc92 Filesystem access.
repo/scripts/upload_demo_to_space.py:71
            readme.write_text(textwrap.dedent(readme_content))

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

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

low env_fs test-only Excluded from app score #d78c0948dd7cde8a Filesystem access.
repo/scripts/upload_docs_json.py:97
                    html = file.read_text(encoding="utf-8")

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

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

low env_fs test-only Excluded from app score #aa1f6175121d7b9c Filesystem access.
repo/scripts/upload_docs_json.py:111
                    markdown = file.read_text(encoding="utf-8")

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

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

low env_fs test-only Excluded from app score #55b4c5c3ea06c146 Filesystem access.
repo/scripts/upload_docs_json.py:129
    with open((ROOT / "scripts/docs.json").resolve(), "w") as f:

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

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

low env_fs test-only Excluded from app score #1437cc48391f8e25 Filesystem access.
repo/scripts/upload_website_demos.py:91
                with open(os.path.join(requirements_path), "w") as f:

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

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

low env_fs test-only Excluded from app score #a966f0034424e36d Filesystem access.
repo/scripts/upload_website_demos.py:94
                with open(os.path.join(requirements_path), "r") as f:

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

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

low env_fs test-only Excluded from app score #fc9cb74086078d4b Filesystem access.
repo/scripts/upload_website_demos.py:96
                with open(os.path.join(requirements_path), "w") as f:

Reads environment variables or the filesystem — 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 #6bdeaa4647a02456 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/scripts/validate_workflow_curated.py:93
            r = httpx.get(base + path, timeout=INFO_TIMEOUT, follow_redirects=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 test-only Excluded from app score #e681bbc025d36a75 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/scripts/validate_workflow_curated.py:111
        r = httpx.get(
            f"https://huggingface.co/api/spaces/{repo_id}?expand[]=runtime",
            timeout=INFO_TIMEOUT,
        )

Data is sent to a hardcoded external endpoint; 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 #32cbac4593f04e55 Outbound request to a variable or assembled URL on a network client. Review what data is sent to this destination.
repo/scripts/validate_workflow_curated.py:276
        r = httpx.get(
            f"https://huggingface.co/api/models/{repo_id}",
            timeout=INFO_TIMEOUT,
            headers={"Authorization": f"Bearer {hf_token}"} if hf_token else {},
        )

Data is sent to a hardcoded external 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 #b86c3b7bf2c24b96 Filesystem access.
repo/scripts/validate_workflow_curated.py:320
        with open(local_path, encoding="utf-8") as f:

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

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

low env_fs test-only Excluded from app score #e85abff982b07d4d Filesystem access.
repo/scripts/validate_workflow_curated.py:330
    with open(local, encoding="utf-8") as f:

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

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

low env_fs test-only Excluded from app score #55d11d7621bad176 Environment-variable access.
repo/scripts/validate_workflow_curated.py:379
    hf_token = os.environ.get("HF_TOKEN") or os.environ.get("HF_JOBS_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 pii_flow test-only Excluded from app score #6fac78a5d02d11ed PII-bearing data is written to a log/print sink. Logged PII is a privacy concern even when it does not leave the process. Non-production path — not application runtime.
repo/scripts/validate_workflow_curated.py:391 · flow /tmp/closeopen-dhspeach/repo/scripts/validate_workflow_curated.py:379 → /tmp/closeopen-dhspeach/repo/scripts/validate_workflow_curated.py:391
    logger.info(
        "loaded %d entries from %s (%d spaces, %d models)",
        len(items),
        src,
        len(spaces),
        len(models),
    )

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.

</> Dependencies

httpx

python dependency
expand_more 4 low-confidence finding(s)
low env_fs dependency Excluded from app score #d03f16eb35efe52d Environment-variable access.
pkgs/python/[email protected]/httpx/_config.py:34
        if trust_env and os.environ.get("SSL_CERT_FILE"):  # pragma: nocover

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

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

low env_fs dependency Excluded from app score #193d882259adb6bb Environment-variable access.
pkgs/python/[email protected]/httpx/_config.py:35
            ctx = ssl.create_default_context(cafile=os.environ["SSL_CERT_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 #96d29cf39c323913 Environment-variable access.
pkgs/python/[email protected]/httpx/_config.py:36
        elif trust_env and os.environ.get("SSL_CERT_DIR"):  # pragma: nocover

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

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

low env_fs dependency Excluded from app score #376e77540ecf0428 Environment-variable access.
pkgs/python/[email protected]/httpx/_config.py:37
            ctx = ssl.create_default_context(capath=os.environ["SSL_CERT_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.

katex

python dependency
expand_more 1 low-confidence finding(s)
low env_fs dependency Excluded from app score #28dd8e5f8982ac9e Filesystem access.
pkgs/python/[email protected]/src/metrics/parse_tfm.py:134
    with open(file_name, 'rb') as f:

Reads environment variables or the 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

  • @csstools/postcss-global-data prod — dist-only: no readable source
  • @types/testing-library__jest-dom prod — no javascript source
  • plotly.js-dist-min prod — dist-only: no readable source
  • postcss-custom-media prod — dist-only: no readable source
  • svelte-i18n prod — dist-only: no readable source
  • typescript-svelte-plugin prod — dist-only: no readable source
  • @sveltejs/adapter-node prod — scan budget exceeded
  • http-proxy prod — scan budget exceeded
  • @self/spa prod — scan budget exceeded
  • iframe-resizer prod — scan budget exceeded
  • @zerodevx/svelte-json-view prod — scan budget exceeded
  • amuchina prod — scan budget exceeded
  • sanitize-html prod — scan budget exceeded
  • @codemirror/autocomplete prod — scan budget exceeded
  • @codemirror/commands prod — scan budget exceeded
  • @codemirror/lang-css prod — scan budget exceeded
  • @codemirror/lang-html prod — scan budget exceeded
  • @codemirror/lang-javascript prod — scan budget exceeded
  • @codemirror/lang-json prod — scan budget exceeded
  • @codemirror/lang-markdown prod — scan budget exceeded
  • @codemirror/lang-python prod — scan budget exceeded
  • @codemirror/language prod — scan budget exceeded
  • @codemirror/legacy-modes prod — scan budget exceeded
  • @codemirror/lint prod — scan budget exceeded
  • @codemirror/search prod — scan budget exceeded
  • @codemirror/state prod — scan budget exceeded
  • @codemirror/view prod — scan budget exceeded
  • @lezer/common prod — scan budget exceeded
  • @lezer/highlight prod — scan budget exceeded
  • @lezer/markdown prod — scan budget exceeded
  • cm6-theme-basic-dark prod — scan budget exceeded
  • cm6-theme-basic-light prod — scan budget exceeded
  • codemirror prod — scan budget exceeded
  • @ffmpeg/ffmpeg prod — scan budget exceeded
  • @ffmpeg/util prod — scan budget exceeded
  • mrmime prod — scan budget exceeded
  • fetch-event-stream prod — scan budget exceeded
  • anyio prod — scan budget exceeded
  • audioop-lts prod — scan budget exceeded
  • brotli prod — scan budget exceeded
  • fastapi prod — scan budget exceeded
  • groovy prod — scan budget exceeded
  • gradio_client prod — scan budget exceeded
  • hf-gradio prod — scan budget exceeded
  • huggingface_hub prod — scan budget exceeded
  • Jinja2 prod — scan budget exceeded
  • markupsafe prod — scan budget exceeded
  • numpy prod — scan budget exceeded
  • orjson prod — scan budget exceeded
  • packaging prod — scan budget exceeded
  • pandas prod — scan budget exceeded
  • pillow prod — scan budget exceeded
  • pydantic prod — scan budget exceeded
  • python-multipart prod — scan budget exceeded
  • pydub prod — scan budget exceeded
  • pyyaml prod — scan budget exceeded
  • safehttpx prod — scan budget exceeded
  • semantic_version prod — scan budget exceeded
  • starlette prod — scan budget exceeded
  • tomlkit prod — scan budget exceeded
  • typer prod — scan budget exceeded
  • typing_extensions prod — scan budget exceeded
  • uvicorn prod — scan budget exceeded
  • pytz prod — scan budget exceeded
  • fsspec prod — scan budget exceeded
  • gradio prod — scan budget exceeded