Title: chore(deps): collapse stale transitive js-yaml pins onto the patched releases by waleedlatif1 · Pull Request #6830 · simstudioai/sim · GitHub
Open Graph Title: chore(deps): collapse stale transitive js-yaml pins onto the patched releases by waleedlatif1 · Pull Request #6830 · simstudioai/sim
X Title: chore(deps): collapse stale transitive js-yaml pins onto the patched releases by waleedlatif1 · Pull Request #6830 · simstudioai/sim
Description: Summary GHSA-5p4m-2wfm-xmqj (quadratic CPU consumption in !!omap resolution) is patched in js-yaml 4.3.1 and 3.15.1. The advisory prose still says the fix was "never backported" — that text is stale; the backport landed on both legacy lines and the advisory's machine-readable first_patched_version reflects it. Both direct dependents (apps/sim, packages/sim-cli) already pin 4.3.1, so the open Dependabot alert is a stale scan and closes on its own. bun.lock still held ten vulnerable nested resolutions Dependabot never sees — 4.2.0 ×5, 4.3.0 ×4, 3.14.2 ×1 — under fumadocs (core/mdx/openapi), electron-builder (app-builder-lib, builder-util, dmg-builder), electron-updater, gray-matter, json-schema-to-typescript, and @apidevtools/json-schema-ref-parser. Every one of those ranges (^4.1.0, ^4.1.1, ^3.13.1) already admits the patched release, so this is a lockfile-only dedupe — nine entries drop to the hoisted 4.3.1, and gray-matter moves 3.14.2 → 3.15.1. Two js-yaml copies remain, both patched. No manifest change and deliberately no overrides block: a flat override would force gray-matter's ^3.13.1 onto js-yaml 4, which removed safeLoad and would break the docs build. Type of Change Bug fix (security / dependency hygiene) Testing Ran the advisory's proof-of-concept against both installed copies. Resolution is linear now — n=150,000 loads in 173 ms (4.3.1) and 191 ms (3.15.1), against the 10.8 s the advisory measured on the vulnerable versions. Confirmed on disk that only two js-yaml copies exist and both carry the hasOwnProperty-map resolver rather than the objectKeys.indexOf linear scan. bun install --frozen-lockfile resolves and installs cleanly with no lockfile drift. Full apps/docs build passes, which exercises the fumadocs and gray-matter YAML paths that moved. bun run lint, check-block-registry, and all 29 audits in bun run check:audits pass. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary GHSA-5p4m-2wfm-xmqj (quadratic CPU consumption in !!omap resolution) is patched in js-yaml 4.3.1 and 3.15.1. The advisory prose still says the fix was "never backported" — that t...
X Description: Summary GHSA-5p4m-2wfm-xmqj (quadratic CPU consumption in !!omap resolution) is patched in js-yaml 4.3.1 and 3.15.1. The advisory prose still says the fix was "never backported" ...
Opengraph URL: https://github.com/simstudioai/sim/pull/6830
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fafd3001-df19-4bff-b25f-aa305cdc15d9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AD46:63A32:878261:BFA104:6AFB6ECD |
| html-safe-nonce | dbcd0a2f687873ce496272a4e60038242f065125e2977a94de95b7b06f1fcd9e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDQ2OjYzQTMyOjg3ODI2MTpCRkExMDQ6NkFGQjZFQ0QiLCJ2aXNpdG9yX2lkIjoiNjI1Mjg0MTc1NDcyMjc5MTExNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fca040b232c37dbeb84686a30567ea3abd526b8e6d6420f0178c3c4771b9ff9f |
| hovercard-subject-tag | pull_request:4309321603 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6830/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary GHSA-5p4m-2wfm-xmqj (quadratic CPU consumption in !!omap resolution) is patched in js-yaml 4.3.1 and 3.15.1. The advisory prose still says the fix was "never backported" — that t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 88808b1fae5ab8a526a73e7ce5542a10eb9d6971 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width