Skip to content

[Security] js-yaml security update ready for merge #413

Closed

Description

@github-actions

Security Update Summary

A MODERATE severity security vulnerability has been identified and fixed in js-yaml:

  • Package: js-yaml
  • Current Version: 3.14.1
  • Fixed Version: 3.14.2
  • Severity: MODERATE (CVSS 5.3)
  • CVE: GHSA-mh29-5h37-fv8m
  • Issue: Prototype pollution in merge (<< operator)

Verification Status

✅ All checks passed:

  • Build successful (npm run build)
  • All 643 tests passing
  • Linting passed (existing warnings only)
  • No runtime dependencies affected
  • npm audit now shows 0 vulnerabilities

Changes Made

The fix has been committed to branch deps/security-update-20260125:

  • Commit: 5d50bfe
  • Files changed: 1 (package-lock.json)
  • Lines changed: 3 (version, URL, integrity hash)

Impact Analysis

This is a transitive dev dependency used by Jest for code coverage:

ts-jest → @jest/transform → babel-plugin-istanbul → @istanbuljs/load-nyc-config → [email protected]

While it only affects development/testing, fixing it improves the security posture of the codebase.

Action Required

Option 1: Create PR manually

git fetch origin deps/security-update-20260125
git checkout deps/security-update-20260125
gh pr create --base main --title "fix(deps): update js-yaml to 3.14.2 (CVE fix)" --body "Fixes GHSA-mh29-5h37-fv8m"

Option 2: Apply patch directly

npm audit fix --force
npm test  # Verify
git commit -am "fix(deps): update js-yaml to 3.14.2 (CVE fix)"

Additional Context

  • Release Date: js-yaml 3.14.2 was released November 14, 2025 (2 months old)
  • Advisory: GHSA-mh29-5h37-fv8m
  • Detailed Report: See workflow run 21333415629

Note: The dependency security monitor workflow attempted to create a PR automatically but lacks push permissions. This issue was created instead to track the manual merge.

AI generated by Dependency Security Monitor

  • expires on Jan 26, 2026, 7:37 PM UTC

Activity

  1. added
    dependencies
    on Jan 25, 2026
  2. github-actions commented on Jan 26, 2026

    @github-actions
    ContributorAuthor

    ✅ Security Fix Applied

    The js-yaml 3.14.2 security update has been successfully applied and verified:

    Changes Made

    • Package: js-yaml 3.14.1 → 3.14.2
    • File: package-lock.json (transitive dependency via @istanbuljs/load-nyc-config)
    • Branch: deps/security-fix-js-yaml-20260126
    • Commit: 64bd58d

    Verification

    ✅ npm audit: 0 vulnerabilities (was 1 moderate)
    ✅ All tests pass: 643/643 tests passing
    ✅ Build successful: TypeScript compilation clean
    ✅ Linting: No new warnings (189 existing warnings unchanged)

    Dependency Chain

    ts-jest → @jest/transform → babel-plugin-istanbul → @istanbuljs/load-nyc-config → [email protected]
    

    Action Needed

    The fix is ready but cannot be pushed due to workflow permissions. Manual merge required:

    Option 1: Pull and merge the local branch

    git fetch
    git checkout deps/security-fix-js-yaml-20260126
    git push origin deps/security-fix-js-yaml-20260126
    # Then create PR via GitHub UI

    Option 2: Apply fix directly to main

    npm audit fix
    npm test  # Verify
    git commit -am "fix(deps): update js-yaml to 3.14.2 (GHSA-mh29-5h37-fv8m)"
    git push origin main

    Updated by Dependency Security Monitor - Run 21359579517

    AI generated by Dependency Security Monitor

  3. github-actions commented on Jan 26, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster has assigned this to Copilot!

    I've identified this issue as a good candidate for automated resolution and assigned it to the Copilot agent.

    The Copilot agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    AI generated by Issue Monster

  4. github-actions commented on Jan 26, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster has assigned this to Copilot!

    I've identified this issue as a good candidate for automated resolution and assigned it to the Copilot agent.

    The Copilot agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    AI generated by Issue Monster

  5. github-actions commented on Jan 26, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster has assigned this to Copilot!

    I've identified this issue as a good candidate for automated resolution and assigned it to the Copilot agent.

    The Copilot agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    AI generated by Issue Monster

  6. github-actions commented on Jan 26, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster has assigned this to Copilot!

    I've identified this issue as a good candidate for automated resolution and assigned it to the Copilot agent.

    The Copilot agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    AI generated by Issue Monster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

dependenciessecurity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions