RepoPilot

"Using RepoPilot's analysis, what's the OpenSSF Scorecard score, how many depend

About vercel/next.js · 4 messages · last activity 6/28/2026

Question

"Using RepoPilot's analysis, what's the OpenSSF Scorecard score, how many dependency CVEs are there, and the most-depended-on file?

RepoPilot

Based on RepoPilot's analysis:

OpenSSF Scorecard: 6.1/10, with the weakest checks being CII-Best-Practices (0/10), Token-Permissions (0/10), and Binary-Artifacts (0/10).

Dependency CVEs: 0 critical, 0 high, and 0 moderate known CVEs across 25 scanned dependencies. Importantly, there are 0 critical and 0 high severity CVEs in direct dependencies.

Most-depended-on file: [.github/actions/next-stats-action/src/util/logger.js] with 10 importers, followed by [.github/actions/next-stats-action/src/util/exec.js] (6 importers) and [.github/actions/next-stats-action/src/constants.js] (6 importers).

The repository also has an architecture grade of A (89/100) and contains 2 import cycles, with a clean security posture overall.

FOLLOW_UPS:

  • What are the two circular dependency chains?
  • How can the OpenSSF Scorecard score be improved?
  • What's in the most-depended-on logger file?
Question

What are the two circular dependency chains?

RepoPilot

According to RepoPilot's analysis, the two circular dependency chains in vercel/next.js are:

  1. Bundle analyzer cycle: apps/bundle-analyzer/lib/layout-treemap.ts → apps/bundle-analyzer/lib/treemap-layout.ts → apps/bundle-analyzer/lib/layout-treemap.ts

  2. Benchmark cycle: bench/vercel/bench.js → bench/vercel/project-utils.js → bench/vercel/bench.js

Both are relatively isolated to specific tool directories (the bundle analyzer app and benchmarking utilities), rather than core Next.js framework code. The fact that there are only 2 cycles in a codebase of 179 parsed files indicates good architectural separation overall.

FOLLOW_UPS:

  • How can these circular dependencies be resolved?
  • Are there other architectural issues flagged?
  • What files depend on the circular modules?

Want to ask your own question?

Open chat for vercel/next.js

Public Q&A. Generated by RepoPilot from the actual source of vercel/next.js. AI answers can be incomplete or stale — verify before relying on them.