fix: resolve 3 high-severity dependency vulnerabilities (sharp, js-yaml, postcss) - #51
Merged
Merged
Conversation
…ml, postcss) - sharp: bump range ^0.34.5 -> ^0.35.0 (CVE-2026-33327/33328/35590/35591) - postcss: bump override ^8.5.10 -> ^8.5.18 (path traversal in sourceMappingURL) - js-yaml: constrain override >=3.15.0 -> >=3.15.0 <4.0.0 (DoS in flow collections) The previous override >=3.15.0 was too broad, resolving to 5.x which removed safeLoad() and broke gray-matter. Constrained to 3.x which is not in the vulnerable range (CVE only affects >=5.0.0 <=5.2.1).
farizanjum
force-pushed
the
fix/dep-vulnerabilities-sharp-js-yaml-postcss
branch
from
July 31, 2026 08:21
5b487b1 to
b06e078
Compare
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.
Summary
Fixes remaining high-severity postcss vulnerability reported by
pnpm audit. After rebasing on latest main (which already fixed sharp and js-yaml), the only remaining fix is the postcss override range.Vulnerability Fixed
^8.5.10->^8.5.18Already fixed upstream (commit d705ba6)
^0.35.3(CVE-2026-33327/33328/35590/35591)yaml ^2.9.0, js-yaml override removed (GHSA-pm4m-ph32-ghv5)Changes
pnpm-lock.yaml: postcss 8.5.23 -> 8.5.25 (lockfile reflects the
^8.5.18override range floor)Verification
pnpm audit: No known vulnerabilities found (0 issues)pnpm test --run: 22 passed, 13 skipped (e2e suite pre-existing failure on main - missing rootbuildscript, unrelated to this change)tsx scripts/validate-pr.ts: All 64 skills validtsx scripts/validate-skill-descriptions.ts: OK - all SKILL.md descriptions populatedpnpm build:plugin: Plugin generated successfully (64 skills)Testing