Apply security updates for js-yaml and tar dependencies - #4114
Open
beer-sakthai wants to merge 7 commits into
Open
Apply security updates for js-yaml and tar dependencies#4114beer-sakthai wants to merge 7 commits into
beer-sakthai wants to merge 7 commits into
Conversation
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
…-remediation [StepSecurity] Apply security best practices
Clears the two open advisories reported by `npm audit` against the locked dependency tree. Both fixes land inside the existing semver ranges, so only `package-lock.json` changes: - js-yaml 4.3.0 -> 4.3.1 and 3.15.0 -> 3.15.1 (GHSA-5p4m-2wfm-xmqj, CVE-2026-59870, high): quadratic CPU consumption resolving `!!omap`. Reached via @microsoft/eslint-formatter-sarif and supertap. - tar 7.5.20 -> 7.5.22 (GHSA-r292-9mhp-454m, moderate): uncontrolled recursion in mapHas/filesFilter allows an uncatchable stack-overflow DoS from a crafted long-path archive. Reached via @mapbox/node-pre-gyp. All three are dev-only dependencies, so the bundled output in `lib/` does not change and needs no rebuild. The root `js-yaml` direct dependency stays pinned at 5.2.3 — the 5.x line was already patched in 5.2.1 and is unaffected, so it is deliberately left out of this diff to keep the change security-scoped. Verified locally: `npm ci`, `npm run build`, and `npm run lint` all pass, and `npm audit` reports 0 vulnerabilities. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QVUWKDpMHifLWzEYPF4NKL
Bump js-yaml and tar to patched versions (dev-only transitives)
beer-sakthai
marked this pull request as draft
August 27, 2026 16:02
beer-sakthai
marked this pull request as ready for review
August 27, 2026 16:02
Nothing in the tree said this was a fork, why it exists, or how it relates to the SakThai repos that sit alongside it. Add FORK.md recording the two dev-only advisory bumps it carries (js-yaml GHSA-5p4m-2wfm-xmqj, tar GHSA-r292-9mhp-454m), links to the sibling repos, and the point that matters most: no workflow in those repos references this fork. They pin upstream `github/codeql-action` by commit SHA, and repointing them here would defeat the SHA-pinning Scorecard's Pinned-Dependencies check relies on. The README gets a single blockquote line pointing at FORK.md, kept to one line so syncing from upstream stays a trivial resolution. Everything else in README.md is upstream's and is untouched. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DKk5SVtHLSPCwSDASJhfRL
…links-xjhan3 docs: add FORK.md explaining this fork and its related repositories
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Risk assessment
For internal use only. Please select the risk level of this change:
Which use cases does this change impact?
Workflow types:
dynamicworkflows (Default Setup, Code Quality, ...).Products:
analysis-kinds: code-scanning.analysis-kinds: code-quality.upload-sarifaction.Environments:
github.comand/or GitHub Enterprise Cloud with Data Residency.How did/will you validate this change?
.test.tsfiles).pr-checks).If something goes wrong after this change is released, what are the mitigation and rollback strategies?
How will you know if something goes wrong after this change is released?
Are there any special considerations for merging or releasing this change?
Merge / deployment checklist