Skip to content

Upgrade shell-quote to patched release - #11

Merged
VdustR merged 1 commit into
mainfrom
codex/shell-quote-security
Oct 14, 2026
Merged

VdustR merged 1 commit into
mainfrom
codex/shell-quote-security

Conversation

@VdustR

@VdustR VdustR commented Oct 14, 2026

Copy link
Copy Markdown
Owner

The documentation toolchain locked shell-quote 1.10.0, which allows a line terminator after a comment token to escape quoting. Pin the official patched 1.11.0 through the existing workspace override convention and regenerate only the affected lock entries.

Closes #10. Addresses shell-quote alert.

The regression resolves shell-quote through Docusaurus → webpack-dev-server → launch-editor. It rejects LF, CR, U+2028 and U+2029 after comments and preserves normal quoting/editor-command parsing. Before the update, the four safety cases fail and a harmless marker executes in /bin/sh; they pass after the update and fail again with the old resolution restored. This verifies the dependency defect; a g2d user-path exploit is not established, and launch-editor uses parse(), not quote().

Validation: frozen install; all 41 tests; root and docs type checks; code/package and Docusaurus production builds; git diff --check. Independent adversarial review recorded before submission.

The separate http-cache-semantics alert has no patched primary advisory and remains excluded. Its historical grouped Dependabot run remains failed; this PR does not claim to repair the updater service. No npm version bump is needed: this dependency belongs to the docs development toolchain, is absent from generated core/CLI packages, and main automatically rebuilds/deploys Pages.

@changeset-bot

changeset-bot Bot commented Oct 14, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 90797d4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@VdustR
VdustR marked this pull request as ready for review October 14, 2026 02:43
@VdustR
VdustR merged commit d9dcffe into main Oct 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade shell-quote after confirmed comment-token quoting failure

1 participant