8000 fix: update js-yaml to 5.4.1 to resolve Dependabot alert by dominicusin · Pull Request #427 · dominicusin/dominicusin.github.io · GitHub
[go: up one dir, main page]

Skip to content
8000

fix: update js-yaml to 5.4.1 to resolve Dependabot alert - #427

Merged
dominicusin merged 1 commit into
mainfrom
fix/js-yaml-security
Sep 9, 2026
Merged

dominicusin merged 1 commit into
mainfrom
fix/js-yaml-security

Conversation

@dominicusin
@dominicusin dominicusin commented Sep 9, 2026 •
Copy link
Copy Markdown
Owner

Summary

  • Update js-yaml ^5.3.0 → ^5.4.1 (fixes maxTotalMergeKeys DoS — high severity)

Why

Dependabot reported: js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources

Validation

  • hugo --gc --minify builds successfully (527 pages, 150 aliases, 0 errors)
  • npm run test — ALL TESTS PASSED

Summary by CodeRabbit

  • Chores
    • Updated the development tooling dependency version for improved maintenance and compatibility.

- js-yaml: ^5.3.0 → ^5.4.1 (fixes maxTotalMergeKeys DoS)
@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copilot AI commented Sep 9, 2026
Copy link
Copy Markdown

@dominicusin Thanks for sending me some feedback. Unfortunately, I hit an error while trying to use the custom Copilot setup steps configured for this repository. The error I am seeing is:

no supported setup-steps job found in your workflow file. Please ensure you have a job named copilot-setup-steps. For more details, see https://gh.io/copilot/actions-setup-steps

Once you or someone with the necessary access fixes the problem, please let me know in a comment and I'll try again. Thanks!

@vercel
vercel Bot commented Sep 9, 2026
Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
dominicusin-github-io Error Error Sep 9, 2026 1:15pm UTC
3 Skipped Deployments
Project Deployment Actions Updated
dominicusin-dominicusin.github.io Ignored Ignored Sep 9, 2026 1:15pm UTC
dominicusin-dominicusin.github.io-lw64 Ignored Ignored Sep 9, 2026 1:15pm UTC
dominicusin-github-io-5612 Ignored Ignored v0 Sep 9, 2026 1:15pm UTC

@github-actions github-actions Bot added dependencies Pull requests that update a dependency file size/XS labels Sep 9, 2026
@github-actions
github-actions Bot commented Sep 9, 2026
Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/js-yaml 5.4.1 🟢 6
Details
CheckScoreReason
Code-Review⚠️ 0Found 1/30 approved changesets -- score normalized to 0
Maintained🟢 1030 commit(s) and 28 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Fuzzing🟢 10project is fuzzed
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Signed-Releases⚠️ -1no releases found
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Security-Policy🟢 4security policy file detected

Scanned Files

  • package-lock.json

@qodo-code-review
Copy link
Copy Markdown

PR Summary by Qodo

Upgrade js-yaml to 5.4.1 to address merge-key DoS

🐞 Bug fix ⚙️ Configuration changes 🕐 Less than 10 minutes

Grey Divider

AI Description

• Upgrades js-yaml to 5.4.1, resolving the high-severity merge-key CPU denial-of-service
 vulnerability.
• Synchronizes the lockfile with the patched dependency release and integrity metadata.
High-Level Assessment

The direct dependency upgrade is the optimal approach because it adopts the upstream security fix while preserving the existing package-management workflow. Overrides or custom mitigations would introduce unnecessary maintenance and complexity.

Files changed (2) +5 / -5

Bug fix (1) +1 / -1
package.jsonUpgrade the js-yaml development dependency +1/-1

Upgrade the js-yaml development dependency

• Raises the 'js-yaml' development dependency from '^5.3.0' to '^5.4.1' to remediate the maxTotalMergeKeys denial-of-service vulnerability.

package.json

Other (1) +4 / -4
package-lock.jsonLock js-yaml to the patched 5.4.1 release +4/-4

Lock js-yaml to the patched 5.4.1 release

• Updates the resolved 'js-yaml' package version, registry URL, integrity hash, and root dependency specification to 5.4.1.

package-lock.json

@coderabbitai
coderabbitai Bot commented Sep 9, 2026 •
Copy link
Copy Markdown
8000

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 5f2adf0c-4b5c-4012-82db-048cf3d18ca7

📥 Commits

Reviewing files that changed from the base of the PR and between 40da3fc and 9b44171.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


Walkthrough

The pull request updates the js-yaml development dependency in package.json from ^5.3.0 to ^5.4.1.

Changes

Dependency update

Layer / File(s) Summary
Update js-yaml version
package.json
The development dependency constraint changes from ^5.3.0 to ^5.4.1.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 9b441

This updates the js-yaml development dependency to 5.4.1, with the lockfile aligned and project validation passing. No current merge-blocking risk is identified.

Suggested reviewers: qwen-intl

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely identifies the main change: updating js-yaml to version 5.4.1 to resolve a Dependabot security alert.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/js-yaml-security

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit checks the package row
And finds a newer yaml flow
One small version hops ahead
The manifest is neatly fed
Carrots cheer the update’s glow

Comment @coderabbitai help to get the list of available commands.

@qodo-code-review
Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can commit Qodo's fix in one click with committable suggestions (GitHub & GitLab)

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@dominicusin
dominicusin merged commit 23ce47d into main Sep 9, 2026
24 of 27 checks passed
@dominicusin
dominicusin deleted the fix/js-yaml-security branch September 9, 2026 13:25

This branch had an error being deployed

1 failed deployment
Preview – dominicusin-github-io — 9b441716 Deployed Sep 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0