Vulnerability Management
Dependency surface
CodyMaster is a Node.js package (package.json) with runtime deps (CLI, Express, SQLite) and dev deps (TypeScript, Vitest, Playwright, VitePress for docs builds).
Routine commands
bash
npm audit
npm audit fixUse judgment: not every advisory applies to your deployment mode (e.g. dev-only tools).
When npm install reports vulnerabilities
- Classify — runtime vs dev-only vs transitive.
- Reproduce — minimal script or test proving exposure.
- Upgrade path — prefer semver-safe bumps; run
npm run test:gate:kit. - Document — note security fixes in release notes / Changelog.
Downstream consumers
If you embed CodyMaster as a dependency:
- Pin versions in your app.
- Run your own CI gate mirroring
test:gate:kitwhere feasible. - Keep
cm-safe-deploychecks and pre-commit scanning enabled in your product repos.