← Back to scan
File as GitHub Issue repo: google-labs-code/design.md

Push this scan report to google-labs-code/design.md

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

eval()/exec() on stored or user-supplied data

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 MINED035 [MINED035] Js New Function: new Function(...) compiles strings to functions. packages/cli/src/linter/spec-gen/compil…:32
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/cli/src/linter/spec-gen/render…:32
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… packages/cli/src/linter/lint.ts:129
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/cli/src/linter/spec-gen/compil…:32
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/cli/src/linter/lint.ts:129
MED MINED115 Action `oven-sh/setup-bun` pinned to mutable ref `@v2` .github/workflows/test.yml:29
MED GHSA-hcf7-66rw-9f5r turbo: GHSA-hcf7-66rw-9f5r bun.lock
MED GHSA-qx2v-qp2m-jg93 postcss: GHSA-qx2v-qp2m-jg93 bun.lock
MED JRN010 Critical user action appears to be handled by a no-op or placeholder packages/cli/scripts/check-package.ts:264
MED JRN010 Critical user action appears to be handled by a no-op or placeholder packages/cli/scripts/check-package.ts:40
LOW DEPCUR-NPM npm package `yaml` is minor version(s) behind (^2.7.1 -> 2.9.0) packages/cli/package.json
LOW DEPCUR-NPM npm package `citty` is minor version(s) behind (^0.1.6 -> 0.2.2) packages/cli/package.json
LOW MINED115 Action `actions/setup-node` pinned to mutable ref `@v4` .github/workflows/test.yml:61
LOW MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/test.yml:27
LOW GHSA-3qcw-2rhx-2726 turbo: GHSA-3qcw-2rhx-2726 bun.lock
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/cli/src/linter/spec-gen/compil…:31
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/cli/src/linter/linter/rules/le…:24
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/cli/src/linter/linter/rules/br…:35
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/cli/src/commands/spec.ts:43
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/cli/src/commands/lint.ts:45
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/cli/src/commands/export.ts:45
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/cli/src/commands/diff.ts:72
Reset to top 5 22 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `google-labs-code/design.md`

**Score: 90/100 (A-)**  ·  22 findings  ·  scanned 2026-06-25 21:07 UTC  ·  9,145 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 2 |
| MEDIUM | 7 |
| LOW | 5 |

📊 [Full filterable report](https://repobility.com/scan/54fe7f94-d210-4e23-bb5b-fe185f71720a/)  ·  ![scorecard](https://repobility.com/scan/54fe7f94-d210-4e23-bb5b-fe185f71720a/report.png?v=1782421652-s2)

### Top findings

1. **CRITICAL** `MINED035` — Js New Function
   `packages/cli/src/linter/spec-gen/compiler.ts:32` · CWE-95 · ✓ Repobility
2. **HIGH** `SEC040` — innerHTML XSS — template literal with server-supplied data
   `packages/cli/src/linter/spec-gen/renderers.ts:32` · CWE-79 · A03:2021 Injection (XSS)
3. **HIGH** `SEC085` — JS: child_process.exec with non-literal
   `packages/cli/src/linter/lint.ts:129`
4. **MEDIUM** `SEC045` — eval()/exec() on stored or user-supplied data
   `packages/cli/src/linter/spec-gen/compiler.ts:32` · CWE-95 · A03:2021 Injection
5. **MEDIUM** `SEC045` — eval()/exec() on stored or user-supplied data
   `packages/cli/src/linter/lint.ts:129` · CWE-95 · A03:2021 Injection

---

**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/54fe7f94-d210-4e23-bb5b-fe185f71720a/_
Megaproject â high spam risk
Could not determine 'google-labs-code/design.md' 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.