← Back to scan
File as GitHub Issue repo: e2b-dev/E2B

Push this scan report to e2b-dev/E2B

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Workflow uses `secrets.E2B_API_KEY_STAGING` on a `pull_request` trigger

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… packages/js-sdk/src/utils.ts:75
CRIT MINED035 [MINED035] Js New Function: new Function(...) compiles strings to functions. packages/js-sdk/src/undici.ts:16
CRIT MINED116 Workflow uses `secrets.E2B_API_KEY_STAGING` on a `pull_request` trigger .github/workflows/sdk_tests.yml:53
CRIT MINED116 Workflow uses `secrets.E2B_API_KEY_STAGING` on a `pull_request` trigger .github/workflows/sdk_tests.yml:45
CRIT MINED116 Workflow uses `secrets.E2B_API_KEY_STAGING` on a `pull_request` trigger .github/workflows/sdk_tests.yml:37
CRIT MINED116 Workflow uses `secrets.E2B_API_KEY` on a `pull_request` trigger .github/workflows/sdk_tests.yml:29
CRIT MINED116 Workflow uses `secrets.E2B_API_KEY` on a `pull_request` trigger .github/workflows/sdk_tests.yml:23
CRIT MINED116 Workflow uses `secrets.E2B_API_KEY` on a `pull_request` trigger .github/workflows/sdk_tests.yml:17
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… packages/python-sdk/e2b/sandbox_sync/co…:121
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… packages/python-sdk/e2b/sandbox_async/f…:39
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… packages/python-sdk/e2b/sandbox_async/c…:143
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/js-sdk/src/utils.ts:99
HIGH SEC069 [SEC069] Dockerfile: no USER directive (runs as root): Container runs as root because no … packages/python-sdk/e2b/template/docker…:1
HIGH SEC069 [SEC069] Dockerfile: no USER directive (runs as root): Container runs as root because no … packages/js-sdk/src/template/dockerfile…:1
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. packages/connect-python/cmd/protoc-gen-…:72
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/python-sdk/e2b/api/__init__.py:150
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/cli/src/terminal.ts:58
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/cli/src/commands/template/init…:113
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/cli/src/commands/sandbox/info.…:97
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/cli/src/commands/template/buil…:142
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/cli/src/commands/sandbox/creat…:76
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/cli/src/commands/sandbox/conne…:41
HIGH MINED108 `self.shift_buffer` used but never assigned in __init__ packages/python-sdk/e2b_connect/client.…:488
HIGH MINED108 `self.header` used but never assigned in __init__ packages/python-sdk/e2b_connect/client.…:499
HIGH MINED108 `self.header` used but never assigned in __init__ packages/python-sdk/e2b_connect/client.…:483
HIGH MINED108 `self.shift_buffer` used but never assigned in __init__ packages/python-sdk/e2b_connect/client.…:470
HIGH MINED108 `self._prepare_server_stream_request` used but never assigned in __init__ packages/python-sdk/e2b_connect/client.…:410
HIGH MINED108 `self._prepare_server_stream_request` used but never assigned in __init__ packages/python-sdk/e2b_connect/client.…:376
HIGH MINED108 `self._create_stream_timeout` used but never assigned in __init__ packages/python-sdk/e2b_connect/client.…:341
HIGH MINED108 `self._process_unary_response` used but never assigned in __init__ packages/python-sdk/e2b_connect/client.…:306
HIGH MINED108 `self._prepare_unary_request` used but never assigned in __init__ packages/python-sdk/e2b_connect/client.…:298
HIGH MINED108 `self._process_unary_response` used but never assigned in __init__ packages/python-sdk/e2b_connect/client.…:285
HIGH MINED108 `self._prepare_unary_request` used but never assigned in __init__ packages/python-sdk/e2b_connect/client.…:277
HIGH MINED108 `self.get_request_timeout` used but never assigned in __init__ packages/python-sdk/e2b/connection_conf…:211
HIGH MINED108 `self.get_host` used but never assigned in __init__ packages/python-sdk/e2b/connection_conf…:158
HIGH MINED108 `self.get_host` used but never assigned in __init__ packages/python-sdk/e2b/connection_conf…:160
HIGH MINED108 `self.get_host` used but never assigned in __init__ packages/python-sdk/e2b/connection_conf…:145
HIGH MINED108 `self.get_host` used but never assigned in __init__ packages/python-sdk/e2b/connection_conf…:151
HIGH MINED108 `self._get_request_timeout` used but never assigned in __init__ packages/python-sdk/e2b/connection_conf…:138
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v4` .github/workflows/pkg_artifacts.yml:62
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/pkg_artifacts.yml:32
HIGH MINED115 Action `pnpm/action-setup` pinned to mutable ref `@v4` .github/workflows/pkg_artifacts.yml:26
HIGH MINED115 Action `wistia/parse-tool-versions` pinned to mutable ref `@v2.1.1` .github/workflows/pkg_artifacts.yml:21
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/pkg_artifacts.yml:18
HIGH MINED115 Action `changesets/action` pinned to mutable ref `@v1` .github/workflows/publish_packages.yml:81
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/publish_packages.yml:56
HIGH MINED115 Action `pnpm/action-setup` pinned to mutable ref `@v4` .github/workflows/publish_packages.yml:50
HIGH MINED115 Action `snok/install-poetry` pinned to mutable ref `@v1` .github/workflows/publish_packages.yml:44
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v4` .github/workflows/publish_packages.yml:39
HIGH MINED115 Action `wistia/parse-tool-versions` pinned to mutable ref `@v2.1.1` .github/workflows/publish_packages.yml:32
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v3` .github/workflows/publish_packages.yml:27
HIGH MINED115 Action `actions/create-github-app-token` pinned to mutable ref `@v1` .github/workflows/publish_packages.yml:20
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v3` .github/workflows/cli_tests.yml:45
HIGH MINED115 Action `pnpm/action-setup` pinned to mutable ref `@v4` .github/workflows/cli_tests.yml:40
HIGH MINED115 Action `wistia/parse-tool-versions` pinned to mutable ref `@v2.1.1` .github/workflows/cli_tests.yml:33
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/cli_tests.yml:30
HIGH MINED115 Action `denoland/setup-deno` pinned to mutable ref `@v1` .github/workflows/js_sdk_tests.yml:100
HIGH MINED115 Action `oven-sh/setup-bun` pinned to mutable ref `@v2` .github/workflows/js_sdk_tests.yml:91
HIGH MINED115 Action `actions/cache` pinned to mutable ref `@v4` .github/workflows/js_sdk_tests.yml:74
HIGH MINED115 Action `actions/cache` pinned to mutable ref `@v4` .github/workflows/js_sdk_tests.yml:65
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v3` .github/workflows/js_sdk_tests.yml:47
HIGH MINED115 Action `pnpm/action-setup` pinned to mutable ref `@v4` .github/workflows/js_sdk_tests.yml:41
HIGH MINED115 Action `wistia/parse-tool-versions` pinned to mutable ref `@v2.1.1` .github/workflows/js_sdk_tests.yml:34
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/js_sdk_tests.yml:31
HIGH MINED118 Dockerfile FROM `ubuntu:latest` not pinned by digest packages/cli/testground/demo-basic/Dock…:1
HIGH MINED118 Dockerfile FROM `python:3.11.6` not pinned by digest templates/base/e2b.Dockerfile:1
HIGH MINED118 Dockerfile FROM `python:3.10` not pinned by digest codegen.Dockerfile:11
HIGH MINED118 Dockerfile FROM `golang:1.23` not pinned by digest codegen.Dockerfile:1
HIGH JRN004 Consent is collected in UI without visible backend audit persistence packages/js-sdk/src/envd/schema.gen.ts:56
MED SEC068 [SEC068] Dockerfile: base image uses :latest or no tag: FROM uses :latest or no tag — bui… packages/python-sdk/e2b/template/docker…:5
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… packages/python-sdk/e2b/template/docker…:276
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… packages/python-sdk/e2b/sandbox_async/f…:39
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… packages/python-sdk/e2b/sandbox_async/c…:143
MED SEC034 [SEC034] Log Injection / Log Forging — unsanitized user input in log: User input is logge… packages/python-sdk/e2b/api/client_sync…:26
MED SEC034 [SEC034] Log Injection / Log Forging — unsanitized user input in log: User input is logge… packages/python-sdk/e2b/api/client_asyn…:26
MED SEC034 [SEC034] Log Injection / Log Forging — unsanitized user input in log: User input is logge… packages/python-sdk/e2b/api/__init__.py:177
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/js-sdk/src/undici.ts:16
MED MINED111 Bare except continues silently packages/python-sdk/e2b/sandbox_sync/co…:123
MED MINED111 Bare except continues silently packages/python-sdk/e2b/sandbox/_git/pa…:46
MED MINED111 Bare except continues silently packages/python-sdk/e2b/sandbox/_git/pa…:41
MED MINED111 Bare except continues silently packages/python-sdk/e2b/sandbox_async/f…:61
MED MINED111 Bare except continues silently packages/python-sdk/e2b/sandbox_async/c…:163
MED MINED109 Mutable default argument in `wait_for_build_finish` (list) packages/python-sdk/e2b/template_async/…:203
MED MINED111 Bare except continues silently packages/python-sdk/e2b/sandbox_async/g…:224
MED MINED111 Bare except continues silently packages/python-sdk/e2b/sandbox_async/g…:210
MED MINED111 Bare except continues silently packages/python-sdk/e2b/sandbox_async/g…:144
MED MINED109 Mutable default argument in `wait_for_build_finish` (list) packages/python-sdk/e2b/template_sync/b…:202
MED MINED111 Bare except continues silently packages/python-sdk/e2b/sandbox_sync/gi…:245
MED MINED111 Bare except continues silently packages/python-sdk/e2b/sandbox_sync/gi…:231
MED MINED111 Bare except continues silently packages/python-sdk/e2b/sandbox_sync/gi…:144
MED MINED111 Bare except continues silently packages/python-sdk/e2b/template/utils.…:348
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/cli/src/commands/sandbox/creat…:116
MED COMP001 [COMP001] High cognitive complexity: Function `__init__` has cognitive complexity 16 (Son… packages/python-sdk/e2b/api/__init__.py:99
MED DKR003 Dockerfile base image uses the latest tag packages/cli/testground/demo-basic/Dock…:1
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED MINED124 requirements.txt: `twine` has no version pin packages/connect-python/requirements-de…:5
MED MINED124 requirements.txt: `build` has no version pin packages/connect-python/requirements-de…:4
MED MINED124 requirements.txt: `ruff` has no version pin packages/connect-python/requirements-de…:3
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR001 Docker final stage has no non-root USER packages/cli/testground/demo-basic/Dock…:1
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AGT005 Calendar/event date parsing can crash on malformed persisted data packages/js-sdk/src/sandbox/sandboxApi.…:854
MED AGT005 Calendar/event date parsing can crash on malformed persisted data packages/cli/src/commands/sandbox/list.…:98
MED AGT012 Agent control bridge may listen on a network interface without visible auth packages/python-sdk/e2b/sandbox_sync/ma…:193
MED AGT012 Agent control bridge may listen on a network interface without visible auth packages/python-sdk/e2b/sandbox_async/m…:195
MED AGT012 Agent control bridge may listen on a network interface without visible auth packages/python-sdk/e2b/sandbox/sandbox…:1
LOW SEC075 [SEC075] Dockerfile: no HEALTHCHECK: No HEALTHCHECK directive — orchestrators can't detec… packages/python-sdk/e2b/template/docker…:1
LOW SEC075 [SEC075] Dockerfile: no HEALTHCHECK: No HEALTHCHECK directive — orchestrators can't detec… packages/js-sdk/src/template/dockerfile…:1
LOW COMP001 [COMP001] High cognitive complexity: Function `_parse_response` has cognitive complexity … packages/python-sdk/e2b/api/client/api/…:32
LOW COMP001 [COMP001] High cognitive complexity: Function `handle_api_exception` has cognitive comple… packages/python-sdk/e2b/api/__init__.py:39
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:26
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:29
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:26
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:22
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:21
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:17
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:23
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:19
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:33
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:30
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:29
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:42
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:37
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:28
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:23
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:14
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:40
LOW AIC003 Duplicated implementation block across source files packages/js-sdk/src/envd/http2.ts:51
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:34
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:31
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:27
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:43
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:42
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:32
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:36
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:29
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:28
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:22
LOW AIC003 Duplicated implementation block across source files packages/python-sdk/e2b/api/client/api/…:26
LOW AIC003 Duplicated implementation block across source files packages/js-sdk/src/envd/process/proces…:1
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. packages/python-sdk/e2b/sandbox/command…:5
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. packages/python-sdk/e2b/sandbox/command…:20
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. packages/python-sdk/e2b/sandbox/_git/ty…:5
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… packages/python-sdk/e2b/api/client/mode…:110
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… packages/python-sdk/e2b/api/client/mode…:155
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… packages/python-sdk/e2b/api/client/mode…:117
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/python-sdk/e2b/connection_conf…:145
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/js-sdk/src/connectionConfig.ts:244
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/js-sdk/src/utils.ts:16
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/cli/src/index.ts:30
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/js-sdk/src/undici.ts:31
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/js-sdk/src/envd/rpc.ts:45
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/cli/src/commands/template/buil…:108
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/cli/src/commands/sandbox/exec.…:93
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/cli/src/commands/sandbox/creat…:86
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/cli/src/commands/sandbox/conne…:26
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/cli/src/commands/auth/info.ts:13
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/cli/src/commands/auth/configur…:22
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/cli/src/api.ts:55
Reset to top 5 159 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `e2b-dev/E2B`

**Score: 75/100 (A-)**  ·  208 findings  ·  scanned 2026-05-31 01:23 UTC  ·  83,361 LOC

| Severity | Count |
|---|---|
| CRITICAL | 8 |
| HIGH | 61 |
| MEDIUM | 37 |
| LOW | 34 |

📊 [Full filterable report](https://repobility.com/scan/40abc3d1-0134-4adb-a0b0-f6d2e010ea31/)  ·  ![scorecard](https://repobility.com/scan/40abc3d1-0134-4adb-a0b0-f6d2e010ea31/report.png?v=1780190628-s2)

### Top findings

1. **CRITICAL** `SEC084` — JS: require() with non-literal
   `packages/js-sdk/src/utils.ts:75`
2. **CRITICAL** `MINED035` — Js New Function
   `packages/js-sdk/src/undici.ts:16` · CWE-95 · ✓ Repobility
3. **CRITICAL** `MINED116` — Workflow uses `secrets.E2B_API_KEY_STAGING` on a `pull_request` trigger
   `.github/workflows/sdk_tests.yml:53` · ✓ Repobility
4. **CRITICAL** `MINED116` — Workflow uses `secrets.E2B_API_KEY_STAGING` on a `pull_request` trigger
   `.github/workflows/sdk_tests.yml:45` · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.E2B_API_KEY_STAGING` on a `pull_request` trigger
   `.github/workflows/sdk_tests.yml:37` · ✓ Repobility

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/40abc3d1-0134-4adb-a0b0-f6d2e010ea31/_
Megaproject â high spam risk
Could not determine 'e2b-dev/E2B' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
137/352 findings (39%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.