← Back to scan
File as GitHub Issue repo: braintrustdata/braintrust-proxy

Push this scan report to braintrustdata/braintrust-proxy

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.AZURE_OPENAI_API_VERSION` 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 MINED116 Workflow uses `secrets.TEST_CLOUDFLARE_API_TOKEN` on a `pull_request` trigger .github/workflows/js.yaml:137
CRIT MINED116 Workflow uses `secrets.TEST_CLOUDFLARE_ACCOUNT_ID` on a `pull_request` trigger .github/workflows/js.yaml:136
CRIT MINED116 Workflow uses `secrets.TEST_CLOUDFLARE_API_TOKEN` on a `pull_request` trigger .github/workflows/js.yaml:88
CRIT MINED116 Workflow uses `secrets.TEST_CLOUDFLARE_ACCOUNT_ID` on a `pull_request` trigger .github/workflows/js.yaml:87
CRIT MINED116 Workflow uses `secrets.AZURE_OPENAI_API_VERSION` on a `pull_request` trigger .github/workflows/js.yaml:78
CRIT MINED116 Workflow uses `secrets.AZURE_OPENAI_ENDPOINT` on a `pull_request` trigger .github/workflows/js.yaml:77
CRIT MINED116 Workflow uses `secrets.AZURE_OPENAI_API_KEY` on a `pull_request` trigger .github/workflows/js.yaml:76
CRIT MINED116 Workflow uses `secrets.GEMINI_API_KEY` on a `pull_request` trigger .github/workflows/js.yaml:75
CRIT MINED116 Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger .github/workflows/js.yaml:74
CRIT MINED116 Workflow uses `secrets.OPENAI_API_KEY` on a `pull_request` trigger .github/workflows/js.yaml:73
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/proxy/utils/encrypt.ts:32
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/proxy/schema/translate.ts:29
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). apis/node/src/node-proxy.ts:72
HIGH SEC135 [SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint g… apis/node/src/local.ts:42
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… apis/cloudflare/src/proxy.ts:130
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… apis/cloudflare/src/index.ts:13
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… apis/cloudflare/src/env.ts:12
HIGH MINED131 pre-commit hook `https://github.com/rbubley/mirrors-prettier` pinned to mutable rev `v3.3… .pre-commit-config.yaml:18
HIGH MINED131 pre-commit hook `https://github.com/codespell-project/codespell` pinned to mutable rev `v… .pre-commit-config.yaml:7
HIGH MINED113 Express POST /proxy/v1/*splat has no auth apis/node/src/local.ts:42
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… packages/proxy/utils/tests.ts:271
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/proxy/src/util.ts:50
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DEPCUR-NPM npm package `undici` is 2 major version(s) behind (^6.0.0 -> 8.3.0) apis/vercel/package.json
MED DEPCUR-NPM npm package `@vercel/kv` is 3 major version(s) behind (^0.2.2 -> 3.0.0) apis/vercel/package.json
MED DEPCUR-NPM npm package `yargs` is 1 major version(s) behind (^17.7.2 -> 18.0.0) packages/proxy/package.json
MED DEPCUR-NPM npm package `@types/uuid` is 2 major version(s) behind (^9.0.7 -> 11.0.0) packages/proxy/package.json
MED DEPCUR-NPM npm package `uuid` is 5 major version(s) behind (^9.0.1 -> 14.0.0) packages/proxy/package.json
MED DEPCUR-NPM npm package `jose` is 1 major version(s) behind (^5.9.6 -> 6.2.3) packages/proxy/package.json
MED DEPCUR-NPM npm package `eventsource-parser` is 2 major version(s) behind (^1.1.1 -> 3.1.0) packages/proxy/package.json
MED DEPCUR-NPM npm package `content-disposition` is 2 major version(s) behind (^0.5.4 -> 2.0.1) packages/proxy/package.json
MED GHSA-w5hq-g745-h8pq uuid: GHSA-w5hq-g745-h8pq pnpm-lock.yaml
MED GHSA-q8mj-m7cp-5q26 qs: GHSA-q8mj-m7cp-5q26 pnpm-lock.yaml
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED JRN003 Frontend API reference is not matched by discovered backend routes apis/vercel/pages/index.tsx:18
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 0.0% of discovered r…
MED AGT012 Agent control bridge may listen on a network interface without visible auth packages/proxy/src/providers/util.ts:77
MED WEB015 Public web app has no Content Security Policy index.html
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apis/vercel/app/api/v1/[...slug]/route.…:180
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apis/vercel/app/api/v1/[...slug]/route.…:176
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apis/vercel/app/api/ping/route.ts:8
LOW DEPCUR-NPM npm package `zod-to-json-schema` is minor version(s) behind (^3.24.6 -> 3.25.2) packages/proxy/package.json
LOW DEPCUR-NPM npm package `tsx` is minor version(s) behind (^4.8.1 -> 4.22.4) packages/proxy/package.json
LOW DEPCUR-NPM npm package `esbuild` is minor version(s) behind (^0.27.0 -> 0.28.0) packages/proxy/package.json
LOW DEPCUR-NPM npm package `cache-control-parser` is minor version(s) behind (^2.0.6 -> 2.2.0) packages/proxy/package.json
LOW DEPCUR-NPM npm package `@opentelemetry/sdk-metrics` is minor version(s) behind (^2.1.0 -> 2.7.1) packages/proxy/package.json
LOW DEPCUR-NPM npm package `@opentelemetry/resources` is minor version(s) behind (^2.1.0 -> 2.7.1) packages/proxy/package.json
LOW DEPCUR-NPM npm package `@opentelemetry/exporter-metrics-otlp-http` is minor version(s) behind (^0.20… packages/proxy/package.json
LOW DEPCUR-NPM npm package `@opentelemetry/core` is minor version(s) behind (^2.1.0 -> 2.7.1) packages/proxy/package.json
LOW DEPCUR-NPM npm package `@openapi-contrib/json-schema-to-openapi-schema` is minor version(s) behind (… packages/proxy/package.json
LOW DEPCUR-NPM npm package `@aws-sdk/client-bedrock-runtime` is minor version(s) behind (3.1042.0 -> 3.1… packages/proxy/package.json
LOW DEPCUR-NPM npm package `@anthropic-ai/sdk` is minor version(s) behind (^0.95.1 -> 0.100.1) packages/proxy/package.json
LOW DEPCUR-NPM npm package `prettier` is minor version(s) behind (3.3.2 -> 3.8.3) package.json
LOW AIC003 Duplicated implementation block across source files apis/cloudflare/src/realtime.ts:76
LOW WEB001 Public web app has no robots.txt robots.txt
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/proxy/src/util.ts:57
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. apis/node/src/node-proxy.ts:23
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. apis/node/src/local.ts:19
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/proxy/src/metrics.ts:23
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. apis/cloudflare/src/realtime.ts:30
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/proxy/schema/media-types.ts:99
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … apis/node/src/login.ts:74
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … apis/cloudflare/src/realtime.ts:269
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… apis/node/src/local.ts:61
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… apis/cloudflare/src/proxy.ts:33
INFO MINED065 [MINED065] Cors Wildcard: Access-Control-Allow-Origin: * exposes the API to any browser o… apis/cloudflare/src/index.ts:17
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … apis/cloudflare/src/realtime.ts:246
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … apis/cloudflare/src/proxy.ts:57
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … apis/cloudflare/src/billing.ts:8
INFO DEPCUR-NPM npm package `@types/yargs` is patch version(s) behind (^17.0.33 -> 17.0.35) packages/proxy/package.json
INFO DEPCUR-NPM npm package `@types/jsonwebtoken` is patch version(s) behind (^9.0.7 -> 9.0.10) packages/proxy/package.json
INFO DEPCUR-NPM npm package `@types/content-disposition` is patch version(s) behind (^0.5.8 -> 0.5.9) packages/proxy/package.json
INFO DEPCUR-NPM npm package `dereference-json-schema` is patch version(s) behind (^0.2.1 -> 0.2.2) packages/proxy/package.json
INFO DEPCUR-NPM npm package `@opentelemetry/api` is patch version(s) behind (1.9.0 -> 1.9.1) packages/proxy/package.json
Reset to top 5 77 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `braintrustdata/braintrust-proxy`

**Score: 72/100 (B-)**  ·  80 findings  ·  scanned 2026-06-05 19:27 UTC  ·  34,163 LOC

| Severity | Count |
|---|---|
| CRITICAL | 10 |
| HIGH | 10 |
| MEDIUM | 21 |
| LOW | 17 |

📊 [Full filterable report](https://repobility.com/scan/5b431bf3-77c6-490a-ab4d-1f966b8ba37c/)  ·  ![scorecard](https://repobility.com/scan/5b431bf3-77c6-490a-ab4d-1f966b8ba37c/report.png?v=1780687662-s2)

### Top findings

1. **CRITICAL** `MINED116` — Workflow uses `secrets.TEST_CLOUDFLARE_API_TOKEN` on a `pull_request` trigger
   `.github/workflows/js.yaml:137` · ✓ Repobility
2. **CRITICAL** `MINED116` — Workflow uses `secrets.TEST_CLOUDFLARE_ACCOUNT_ID` on a `pull_request` trigger
   `.github/workflows/js.yaml:136` · ✓ Repobility
3. **CRITICAL** `MINED116` — Workflow uses `secrets.TEST_CLOUDFLARE_API_TOKEN` on a `pull_request` trigger
   `.github/workflows/js.yaml:88` · ✓ Repobility
4. **CRITICAL** `MINED116` — Workflow uses `secrets.TEST_CLOUDFLARE_ACCOUNT_ID` on a `pull_request` trigger
   `.github/workflows/js.yaml:87` · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.AZURE_OPENAI_API_VERSION` on a `pull_request` trigger
   `.github/workflows/js.yaml:78` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/5b431bf3-77c6-490a-ab4d-1f966b8ba37c/_
Megaproject â high spam risk
Could not determine 'braintrustdata/braintrust-proxy' 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.

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.