Summary
Add a real-world Mastra monorepo lockfile snapshot and a verified baseline scan case study to CVE Lite CLI.
Motivation
Mastra is a TypeScript-native AI agent framework with a large pnpm monorepo covering core runtime, provider integrations, playground UI, and client SDKs. A committed lockfile snapshot and documented case study would:
- Document dependency risk in a production AI agent framework (not just an LLM client library)
- Show how CVE Lite CLI handles a 4,500+ package pnpm workspace with critical transitive findings (e.g. auth and protobuf chains)
- Surface validated fix command groups where parent upgrades are identifiable
- Provide a side-by-side comparison with
pnpm audit on the same lockfile
Preliminary scan (CVE Lite CLI v1.18.0, lockfile-only, 2026-05-27)
| Metric |
Value |
| Upstream revision (candidate) |
5ee740cfe3bac6bae0c6303c43622a4e6abbfac7 |
| Lockfile |
pnpm-lock.yaml |
| Resolved packages |
4,556 |
| Vulnerable packages |
60 (87 OSV advisory matches) |
| Severity |
3 critical · 30 high · 25 medium · 2 low |
Numbers are from a lockfile-only baseline scan and must be re-verified locally before publishing the case study.
Proposed changes
- Add
examples/mastra/ with package.json and pnpm-lock.yaml pinned to a specific upstream commit
- Add
website/docs/case-studies/mastra.md with verified scan results (CVE Lite CLI version, pnpm audit comparison, reproducible commands)
- Wire the case study into docs sidebar, README,
examples/readme.md, and CHANGELOG
Scope
- Documentation and example fixture only
- No changes to scanner source code or existing examples
- All scan metrics must be reproduced locally before publishing (baseline only — no fake “after” remediation results)
Acceptance criteria
Summary
Add a real-world Mastra monorepo lockfile snapshot and a verified baseline scan case study to CVE Lite CLI.
Motivation
Mastra is a TypeScript-native AI agent framework with a large pnpm monorepo covering core runtime, provider integrations, playground UI, and client SDKs. A committed lockfile snapshot and documented case study would:
pnpm auditon the same lockfilePreliminary scan (CVE Lite CLI v1.18.0, lockfile-only, 2026-05-27)
5ee740cfe3bac6bae0c6303c43622a4e6abbfac7pnpm-lock.yamlProposed changes
examples/mastra/withpackage.jsonandpnpm-lock.yamlpinned to a specific upstream commitwebsite/docs/case-studies/mastra.mdwith verified scan results (CVE Lite CLI version, pnpm audit comparison, reproducible commands)examples/readme.md, and CHANGELOGScope
Acceptance criteria