Add Mitosis lockfile example and verified case study#659
Conversation
sonukapoor
left a comment
There was a problem hiding this comment.
The honest handling of the 109 unknown rows is good - the study doesn't hide the Yarn Berry path-resolution limitation.
Structural fixes needed:
## Lockfile scope and ## Scan verification are not standard sections - please fold ## Lockfile scope into the Summary and move scan verification details into ## Scan command.
The ## Comparison Note heading needs to match the template: ## Comparison Note: CVE Lite CLI vs npm/pnpm audit. The body can explain this project uses yarn npm audit - the heading is a structural marker.
## Remaining risk needs a suffix - use something like ## Remaining risk after baseline scan.
## Want your project reviewed? is missing - please add it as the final section.
Branch is behind main - please rebase with git fetch origin && git rebase origin/main && git push --force-with-lease.
Document BuilderIO/mitosis at a2434f9 (2,476 packages, 145 findings) with Yarn Berry + Nx monorepo lockfile coverage,
yarn npm audit --allcomparison, and unknown-relationship caveats.Fixes #640
Summary
examples/mitosis/from BuilderIO/mitosis@a2434f9 (rootpackage.json+yarn.lock)website/docs/case-studies/mitosis.md— cross-framework UI compiler / codegen monorepo coverage on a Yarn Berry + Nx workspace (2,476 packages, 145 findings)yarn npm audit --allon the same lockfile (3 vulnerability entries vs 145 deduplicated packages)website/static/img/mitosis-logo.pngCase-study-only PR — no shared-file edits (
index.md,sidebars.ts,README.md,examples/readme.md,CHANGELOG.md, root lockfile) per CONTRIBUTING guidance.Why this change
Mitosis (~13.8k GitHub stars) is Builder.io's cross-framework UI compiler — write components once, compile to React, Vue, Angular, Svelte, Solid, Qwik, Alpine, and more. A committed Yarn Berry lockfile snapshot extends CVE Lite coverage into compiler / codegen monorepos with multi-framework e2e sandboxes — distinct from Storybook (UI tooling), Svelte (pnpm compiler graph), and single-framework snapshots — and documents how CVE Lite behaves on a large
yarn.lockvs defaultyarn npm audit --allscope.What changed
examples/mitosis/package.json+examples/mitosis/yarn.lockpinned to upstream revisiona2434f9website/docs/case-studies/mitosis.mdwith verified scan results,yarn npm audit --allcomparison, Yarn Berry unknown-relationship caveats, and 145-row baseline findings tablewebsite/static/img/mitosis-logo.png(bundled locally frompackages/fiddle/public/mitosis-logo-white.png)Verified scan output
Notable findings:
@builder.io/qwik,@builder.io/qwik-city,next@13.5.5,handlebars,ejs,form-data,vitest@0.34.6— mostly e2e / framework compile-test pathsesbuildversions (0.12.29–0.23.0) — CVE Lite generatesyarn add esbuild@0.28.1across all direct rowsshell-quote@1.7.3— within-range lockfile refresh viayarn upgrade shell-quoteyarn add nx@19.6.1for criticalform-data@4.0.0via project → nx → axios chainaxios,braces,cross-spawn,flatted,glob,minimatch,picomatch,tmpyarn npm audit --all(Yarn 4.1.1, same lockfile): 3 vulnerability entries (1 high · 2 moderate) on root workspace direct deps — twoesbuild@0.19.10advisories pluseslint@7.32.0deprecation. Case study explains full-lockfile parse vs Yarn Berry default audit scope (parallel to Storybook case study).Validation
npm run buildnode dist/index.js examples/mitosis --verbose --all --json— 145 findings, 5 command groups, 2,476 packages parsedyarn npm audit --allrun fromexamples/mitosis/— 3 entries documented in case studycve-lite-scan-2026-06-14T22-34-27.json)User-facing impact
Does this change:
Notes
Issue #640 preliminary scan (v1.22.0, 2026-06-12) numbers match the verified live scan on 2026-06-14: 145 findings, 6/30/109 relationship split, 5 fix groups, 27/145 first-pass coverage. Baseline only — no fake "after" remediation results.
cc: @sonukapoor