For local release preparation, run:
npm run preflight
npm run security:checkWhat these cover:
- SDK/toolchain readiness across platform
- Native source/binary prerequisites
- Dependency audit for high-severity vulnerabilities
- Basic repository hygiene (
.gitignorechecks)
- Do not commit secrets, tokens, or private URLs.
- Keep
.envand machine-local config out of git. - Prefer least-privilege firewall rules for deployment networks.
- Keep NDI SDK and Node.js updated.
- API source names are normalized and validated server-side.
- Source discovery JSON is escaped to avoid malformed payload issues.
- Native helper compilation is scoped to known binaries (
ndi_recv,ndi_list).
- Current lockfile status:
npm run security:checkreports0 vulnerabilities. - The project uses an npm
overridesrule to pin@mapbox/node-pre-gypto a patched branch and avoid vulnerabletarversions.
Recommended ongoing practice:
- Keep lockfile committed and review dependency changes before release.
- Re-run
npm run security:checkbefore each release. - Validate WebRTC startup after dependency updates (
@koush/wrtcload + offer/answer flow).
If you discover a security issue, avoid public disclosure first. Share details privately with maintainers and include:
- Impact summary
- Reproduction steps
- Affected versions/platforms
- Suggested fix (if available)