Repository navigation
chore: fix dependabot security alerts via resolutions - #1796
Merged
Merged
Conversation
Add yarn resolutions for vulnerable transitive dependencies: - postcss ^8.5.10 (XSS via unescaped </style>) - picomatch ^4.0.4 / ^2.3.2 (ReDoS + method injection) - minimatch ^3.1.4 / ^9.0.7 (ReDoS) - brace-expansion ^1.1.13 (infinite loop on zero-step) Also: - Delete stale package-lock.json (project uses Yarn) - Add package-lock.json to .gitignore Resolves ~20 of 25 open Dependabot alerts.
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
cixzhang
added a commit
that referenced
this pull request
Apr 26, 2026
zurfyx
added a commit
that referenced
this pull request
May 18, 2026
Documentation drift fixes (README and CONTRIBUTING described things that do not exist): - Remove `e2e/` row from README Project Structure (no e2e/ directory) - Remove `e2e/` from CONTRIBUTING Project Structure tree (same) - Remove `apps/docs/` from CONTRIBUTING Project Structure (no @xds/docs workspace exists; the corresponding root `yarn docs` script is also removed) - Update CONTRIBUTING themes line: 12 themes ship today, not 3 - Remove `yarn test:screenshots` reference from CONTRIBUTING (no such script in any package.json) Safety nets: - Add "preinstall": "npx only-allow yarn" to root package.json so an accidental `npm install` from a contributor cannot regenerate package-lock.json (which PR #1796 deliberately removed and gitignored). - Clean stray `-e ` line in .gitignore (artifact from a prior macOS echo). Legal & contribution scaffolding: - Add CLA section to CONTRIBUTING.md pointing at https://code.facebook.com/cla (matches Lexical's wording). Without this, the first external PR cannot be legally merged. - Add Issues + Meta Bug Bounty section to CONTRIBUTING.md (Lexical pattern). - Add SECURITY.md pointing to https://bugbounty.meta.com/ for vulnerability disclosure. GitHub Community Standards expects this; security researchers use it as the authoritative disclosure channel.
zurfyx
added a commit
that referenced
this pull request
May 19, 2026
Documentation drift fixes (README and CONTRIBUTING described things that do not exist): - Remove `e2e/` row from README Project Structure (no e2e/ directory) - Remove `e2e/` from CONTRIBUTING Project Structure tree (same) - Remove `apps/docs/` from CONTRIBUTING Project Structure (no @xds/docs workspace exists; the corresponding root `yarn docs` script is also removed) - Update CONTRIBUTING themes line: 12 themes ship today, not 3 - Remove `yarn test:screenshots` reference from CONTRIBUTING (no such script in any package.json) Safety nets: - Add "preinstall": "npx only-allow yarn" to root package.json so an accidental `npm install` from a contributor cannot regenerate package-lock.json (which PR #1796 deliberately removed and gitignored). - Clean stray `-e ` line in .gitignore (artifact from a prior macOS echo). Legal & contribution scaffolding: - Add CLA section to CONTRIBUTING.md pointing at https://code.facebook.com/cla (matches Lexical's wording). Without this, the first external PR cannot be legally merged. - Add Issues + Meta Bug Bounty section to CONTRIBUTING.md (Lexical pattern). - Add SECURITY.md pointing to https://bugbounty.meta.com/ for vulnerability disclosure. GitHub Community Standards expects this; security researchers use it as the authoritative disclosure channel.
cixzhang
added a commit
that referenced
this pull request
Jun 21, 2026
cixzhang
added a commit
that referenced
this pull request
Jun 21, 2026
This was referenced Jul 20, 2026
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
Resolves ~20 of 25 open Dependabot security alerts by adding yarn resolutions for vulnerable transitive dependencies and removing a stale
package-lock.json.Changes
Yarn resolutions added
All resolutions target semver-compatible patch ranges — no breaking changes for parent packages.
Stale lockfile cleanup
package-lock.json— this project uses Yarn. The stale npm lockfile was generating duplicate Dependabot alerts for every CVE (14 of 25 alerts came from it alone).package-lock.jsonto.gitignoreto prevent it from reappearing.Remaining alerts (5)
These need separate PRs:
internal/vibe-tests/app— pinned to^5.0.0, needs major bump to 6.xVerification
yarn install✅yarn build✅yarn test --run✅ (128 test files, 0 failures)