Skip to content

fix: patch newly reported dependency vulnerabilities - #115

Merged
maxatwork merged 1 commit into
masterfrom
codex/maintenance-2026-08-security-alerts
Aug 15, 2026
Merged

maxatwork merged 1 commit into
masterfrom
codex/maintenance-2026-08-security-alerts

Conversation

@maxatwork

@maxatwork maxatwork commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Patch the two open high-severity Dependabot alerts for js-yaml.
  • Pin the transitive nanoid dependency to the first fixed 3.x release found by npm audit.
  • Raise the repository's lockfile security-test thresholds so these versions cannot regress.

Security findings

Changes

  • js-yaml 4.x: 4.3.0 → 4.3.1
  • js-yaml 3.x under read-yaml-file: 3.15.0 → 3.15.1
  • nanoid: 3.3.16 → 3.3.18

Validation

  • npm_config_cache=/private/tmp/form2js-npm-cache npm ci
  • npx vitest run test/integration/dependency-security.test.ts
  • npm audit --audit-level=high
  • npm run build
  • npm run lint
  • npm run typecheck
  • npm run test:packages
  • npm run test:integration
  • npm run test:docs
  • git diff --check

The PR should be merged only after required GitHub checks and reviews are green.


Summary by cubic

Patches high-severity vulnerabilities by upgrading js-yaml and pinning nanoid, and tightens dependency-security tests to prevent regressions.

  • Upgrades js-yaml 4.x to 4.3.1 and the nested 3.x under read-yaml-file to 3.15.1.
  • Adds a top-level nanoid at 3.3.18 to pin the first fixed 3.x release found by npm audit.
  • Updates the dependency security test to fail if js-yaml < 4.3.1 (or < 3.15.1 for v3) or nanoid < 3.3.18.
  • No runtime behavior changes; only dependency versions and stricter tests.

Written for commit 15e030d. Summary will update on new commits.

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Re-trigger cubic

@maxatwork
maxatwork merged commit f345f1b into master Aug 15, 2026
6 checks passed
@maxatwork
maxatwork deleted the codex/maintenance-2026-08-security-alerts branch August 22, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant