← Back to scan
File as GitHub Issue repo: browserbase/stagehand

Push this scan report to browserbase/stagehand

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.PARITY_APP_ID` 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 generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… packages/docs/docs.json:421
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… packages/cli/src/lib/telemetry.ts:15
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… .env.example:5
CRIT MINED116 Workflow uses `secrets.PARITY_APP_PRIVATE_KEY` on a `pull_request` trigger .github/workflows/feature-parity.yml:65
CRIT MINED116 Workflow uses `secrets.PARITY_APP_ID` on a `pull_request` trigger .github/workflows/feature-parity.yml:64
CRIT MINED116 Workflow uses `secrets.BROWSERBASE_PROJECT_ID` on a `pull_request` trigger .github/workflows/ci.yml:724
CRIT MINED116 Workflow uses `secrets.BROWSERBASE_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:723
CRIT MINED116 Workflow uses `secrets.BRAINTRUST_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:722
CRIT MINED116 Workflow uses `secrets.GOOGLE_GENERATIVE_AI_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:721
CRIT MINED116 Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:720
CRIT MINED116 Workflow uses `secrets.OPENAI_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:719
CRIT MINED116 Workflow uses `secrets.BROWSERBASE_PROJECT_ID` on a `pull_request` trigger .github/workflows/ci.yml:662
CRIT MINED116 Workflow uses `secrets.BROWSERBASE_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:661
CRIT MINED116 Workflow uses `secrets.GOOGLE_GENERATIVE_AI_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:660
CRIT MINED116 Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:659
CRIT MINED116 Workflow uses `secrets.OPENAI_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:658
CRIT MINED116 Workflow uses `secrets.BROWSERBASE_PROJECT_ID` on a `pull_request` trigger .github/workflows/ci.yml:602
CRIT MINED116 Workflow uses `secrets.BROWSERBASE_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:601
CRIT MINED116 Workflow uses `secrets.GOOGLE_GENERATIVE_AI_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:600
CRIT MINED116 Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:599
CRIT MINED116 Workflow uses `secrets.OPENAI_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:598
CRIT MINED116 Workflow uses `secrets.BROWSERBASE_PROJECT_ID` on a `pull_request` trigger .github/workflows/ci.yml:501
CRIT MINED116 Workflow uses `secrets.BROWSERBASE_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:500
CRIT MINED116 Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:498
CRIT MINED116 Workflow uses `secrets.GEMINI_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:497
CRIT MINED116 Workflow uses `secrets.OPENAI_API_KEY` on a `pull_request` trigger .github/workflows/ci.yml:496
CRIT MINED116 Workflow uses `secrets.STAINLESS_API_KEY` on a `pull_request` trigger .github/workflows/stainless.yml:56
CRIT MINED116 Workflow uses `secrets.STAINLESS_API_KEY` on a `pull_request` trigger .github/workflows/stainless.yml:36
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/evals/tui/format.ts:14
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/evals/framework/activeRunClean…:17
HIGH SEC114 [SEC114] path.join / Path() on user-controlled segment without containment check: filepat… packages/server-v3/scripts/runtimePaths…:28
HIGH SEC114 [SEC114] path.join / Path() on user-controlled segment without containment check: filepat… packages/evals/runtimePaths.ts:31
HIGH SEC114 [SEC114] path.join / Path() on user-controlled segment without containment check: filepat… packages/docs/scripts/runtimePaths.js:26
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/evals/core/targets/localChrome…:58
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/docs/scripts/sync-sdk-docs.js:50
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/core/scripts/build-dom-scripts…:131
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/core/examples/observe-variable…:68
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/core/examples/form-filling-sen…:31
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/cli/src/commands/cloud/session…:128
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v4` .github/workflows/publish-evals.yml:125
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/publish-evals.yml:50
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/evals/core/targets/localChrome…:135
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/evals/browserbaseCleanup.ts:14
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… packages/core/examples/example.ts:25
MED DEPCUR-NPM npm package `@types/jsdom` is 1 major version(s) behind (^27.0.0 -> 28.0.3) packages/core/package.json
MED DEPCUR-NPM npm package `uuid` is 3 major version(s) behind (^11.1.1 -> 14.0.0) packages/core/package.json
MED DEPCUR-NPM npm package `pino` is 1 major version(s) behind (^9.6.0 -> 10.3.1) packages/core/package.json
MED DEPCUR-NPM npm package `@google/genai` is 1 major version(s) behind (^1.22.0 -> 2.8.0) packages/core/package.json
MED DEPCUR-NPM npm package `@ai-sdk/provider` is 1 major version(s) behind (^2.0.0 -> 3.0.10) packages/core/package.json
MED DEPCUR-NPM npm package `braintrust` is 3 major version(s) behind (^0.4.10 -> 3.17.0) packages/evals/package.json
MED DEPCUR-NPM npm package `@ai-sdk/provider` is 1 major version(s) behind (^2.0.0 -> 3.0.10) packages/evals/package.json
MED DEPCUR-NPM npm package `lint-staged` is 1 major version(s) behind (^16.4.0 -> 17.0.7) package.json
MED DEPCUR-NPM npm package `globals` is 2 major version(s) behind (^15.13.0 -> 17.6.0) package.json
MED DEPCUR-NPM npm package `eslint-plugin-security` is 1 major version(s) behind (^3.0.1 -> 4.0.0) package.json
MED AGT006 React interval is created without an explicit cleanup packages/docs/sdk-api-reference-labels.…:196
MED AGT006 React interval is created without an explicit cleanup packages/core/lib/v3/logger.ts:20
LOW DEPCUR-NPM npm package `pino-pretty` is minor version(s) behind (^13.0.0 -> 13.1.3) packages/core/package.json
LOW DEPCUR-NPM npm package `fetch-cookie` is minor version(s) behind (^3.1.0 -> 3.2.0) packages/core/package.json
LOW DEPCUR-NPM npm package `@browserbasehq/sdk` is minor version(s) behind (^2.10.0 -> 2.13.0) packages/core/package.json
LOW DEPCUR-NPM npm package `@anthropic-ai/sdk` is minor version(s) behind (0.39.0 -> 0.101.0) packages/core/package.json
LOW DEPCUR-NPM npm package `chalk` is minor version(s) behind (^5.4.1 -> 5.6.2) packages/evals/package.json
LOW DEPCUR-NPM npm package `dotenv` is minor version(s) behind (^17.3.1 -> 17.4.2) packages/evals/package.json
LOW DEPCUR-NPM npm package `@anthropic-ai/claude-agent-sdk` is minor version(s) behind (^0.2.141 -> 0.3.… packages/evals/package.json
LOW DEPCUR-NPM npm package `tsx` is minor version(s) behind (^4.19.4 -> 4.22.4) package.json
LOW DEPCUR-NPM npm package `prettier` is minor version(s) behind (^3.2.5 -> 3.8.3) package.json
LOW DEPCUR-NPM npm package `esbuild` is minor version(s) behind (0.27.2 -> 0.28.0) package.json
LOW DEPCUR-NPM npm package `dotenv` is minor version(s) behind (^17.3.1 -> 17.4.2) package.json
LOW DEPCUR-NPM npm package `@changesets/changelog-github` is minor version(s) behind (^0.5.0 -> 0.7.0) package.json
LOW GHSA-866g-f22w-33x8 @ai-sdk/provider-utils: GHSA-866g-f22w-33x8 pnpm-lock.yaml
LOW AIC003 Duplicated implementation block across source files packages/evals/core/tools/understudy_co…:40
LOW AIC003 Duplicated implementation block across source files packages/evals/core/tools/understudy_co…:23
LOW AIC003 Duplicated implementation block across source files packages/evals/core/tools/playwright_co…:26
LOW AIC003 Duplicated implementation block across source files packages/evals/core/tasks/actions/hover…:5
LOW AIC003 Duplicated implementation block across source files packages/core/scripts/build-esm.ts:1
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/understudy/frameLo…:89
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/understudy/deepLoc…:14
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/llm/aisdk.ts:85
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/llm/OpenAIClient.ts:104
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/llm/GroqClient.ts:153
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/llm/GroqClient.ts:15
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/llm/CerebrasClient…:153
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/handlers/observeHa…:21
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/dom/locatorScripts…:133
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/agent/tools/wait.ts:38
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/agent/tools/type.ts:110
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/agent/tools/type.ts:72
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/agent/tools/scroll…:145
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/agent/tools/screen…:29
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/agent/tools/fillfo…:72
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/agent/tools/fillFo…:151
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/agent/tools/dragAn…:75
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/agent/tools/browse…:60
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/agent/OpenAICUACli…:154
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/agent/OpenAICUACli…:80
LOW AIC003 Duplicated implementation block across source files packages/core/lib/v3/agent/GoogleCUACli…:105
LOW AIC003 Duplicated implementation block across source files packages/cli/src/lib/functions/shared.ts:44
LOW AIC003 Duplicated implementation block across source files packages/cli/src/lib/driver/local-cdp-d…:85
LOW AIC003 Duplicated implementation block across source files packages/cli/src/commands/functions/pub…:10
LOW AIC003 Duplicated implementation block across source files packages/cli/src/commands/cloud/session…:2
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/evals/tasks/bench/agent/hotels…:20
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/evals/tasks/bench/agent/flipka…:20
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/evals/tasks/bench/agent/columb…:20
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/server-v3/scripts/gen-openapi.…:184
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/evals/framework/discovery.ts:271
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/evals/core/tasks/actions/click…:35
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. packages/core/examples/mcp.ts:6
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/cli/src/commands/cloud/session…:100
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/cli/src/commands/cloud/search.…:80
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/cli/src/commands/cloud/project…:52
INFO DEPCUR-NPM npm package `@types/adm-zip` is patch version(s) behind (^0.5.7 -> 0.5.8) packages/core/package.json
INFO DEPCUR-NPM npm package `zod-to-json-schema` is patch version(s) behind (^3.25.0 -> 3.25.2) packages/core/package.json
INFO DEPCUR-NPM npm package `source-map` is patch version(s) behind (^0.7.4 -> 0.7.6) package.json
Reset to top 5 112 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `browserbase/stagehand`

**Score: 60/100 (B-)**  ·  114 findings  ·  scanned 2026-06-05 22:40 UTC  ·  151,053 LOC

| Severity | Count |
|---|---|
| CRITICAL | 28 |
| HIGH | 13 |
| MEDIUM | 15 |
| LOW | 43 |

📊 [Full filterable report](https://repobility.com/scan/bddaf74c-1ea4-432d-9bda-8290295827af/)  ·  ![scorecard](https://repobility.com/scan/bddaf74c-1ea4-432d-9bda-8290295827af/report.png?v=1780699236-s2)

### Top findings

1. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `packages/docs/docs.json:421`
2. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `packages/cli/src/lib/telemetry.ts:15`
3. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `.env.example:5`
4. **CRITICAL** `MINED116` — Workflow uses `secrets.PARITY_APP_PRIVATE_KEY` on a `pull_request` trigger
   `.github/workflows/feature-parity.yml:65` · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.PARITY_APP_ID` on a `pull_request` trigger
   `.github/workflows/feature-parity.yml:64` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/bddaf74c-1ea4-432d-9bda-8290295827af/_
Megaproject â high spam risk
Could not determine 'browserbase/stagehand' 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
40/122 findings (33%) 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.