worclaude 2.6.1 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ All notable changes to worclaude are documented in this file. Format loosely fol
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [2.6.2] — 2026-04-22
8
+
9
+ Dev-dependency security bump. Adds an npm `overrides` entry pinning `brace-expansion` to `^1.1.13` to clear [GHSA-f886-m6hf-6m8v](https://github.com/advisories/GHSA-f886-m6hf-6m8v) — a moderate regex-DoS advisory against the 1.1.12 pulled transitively by `eslint → minimatch`. Post-override the lockfile resolves `brace-expansion@1.1.14` and `npm audit` drops from four moderate advisories to three. `SECURITY.md` is extended with a "Dev-only transitive advisories pending upstream fixes" section documenting the two remaining alerts ([GHSA-4w7w-66w2-5vf9](https://github.com/advisories/GHSA-4w7w-66w2-5vf9) vite path traversal, [GHSA-67mh-4wv8-2f99](https://github.com/advisories/GHSA-67mh-4wv8-2f99) esbuild dev-server CORS) as upstream-blocked by the vitepress `1.6.4 → vite ^5 → esbuild ^0.21.3` chain — `npm overrides` cannot force esbuild past the vite peer contract, and no `vitepress@2.x` is on npm yet. Both advisories are dev-only (excluded from the published tarball by the `files` whitelist) and only reachable while a local dev server is running; tracked for upgrade in [issue #109](https://github.com/sefaertunc/Worclaude/issues/109). No runtime change for worclaude consumers.
10
+
11
+ ### Fixed
12
+
13
+ - **`brace-expansion` regex DoS** (PR #110) — `"overrides": { "brace-expansion": "^1.1.13" }` added to `package.json`; lockfile now resolves `brace-expansion@1.1.14` under `eslint 9.39.4 → minimatch 3.1.5`. Clears GHSA-f886-m6hf-6m8v.
14
+
15
+ ### Docs
16
+
17
+ - **SECURITY.md — "Dev-only transitive advisories pending upstream fixes"** (PR #110) documents GHSA-4w7w-66w2-5vf9 and GHSA-67mh-4wv8-2f99 as accepted risk pending a `vitepress` release on `vite >=6.4.2`. Rationale: both are devDeps only, excluded from the npm tarball, and only reachable while `npm run docs:dev` is running. Tracking issue #109.
18
+
7
19
  ## [2.6.1] — 2026-04-22
8
20
 
9
21
  Supply-chain scanner hygiene. Adds a `socket.yml` at the repo root so Socket (and any tool honoring the same schema) stops treating `tests/fixtures/scanner/**` manifests as real worclaude dependencies. The fixtures pin intentionally-outdated packages (`next@14.2.3`, `vitest@1.4.0`, `prisma@5.10.0`, etc.) as deterministic inputs to the Part A detectors — they are never installed (not referenced from root `package.json`), never shipped (`tests/` is excluded by the npm `files` whitelist), and never executed. Without the ignore, fixture deps surface on PR reviews as critical CVEs (CVE-2025-29927 Next.js middleware auth bypass, Vitest 1.4.0 RCE) that do not apply to worclaude. `SECURITY.md` is expanded with a "Supply Chain Scanner Findings" section documenting the fixture rationale, the real seven-package runtime dependency list, and the by-design `filesystemAccess` capability disclosure on `fs-extra`-heavy scaffolding code.
package/SECURITY.md CHANGED
@@ -66,3 +66,44 @@ settings.json merges, timestamped backups under `.claude-backup-*/`, and
66
66
  an opt-in `workflow-meta.json`. The `fs-extra`-based filesystem capability
67
67
  flag is a disclosure, not a vulnerability — removing it would delete the
68
68
  tool's core function.
69
+
70
+ ### Dev-only transitive advisories pending upstream fixes
71
+
72
+ Two advisories sit deep in the dev-dependency tree and cannot currently be
73
+ resolved without either forking `vitepress` or waiting for its next release:
74
+
75
+ - **[GHSA-4w7w-66w2-5vf9](https://github.com/advisories/GHSA-4w7w-66w2-5vf9)** —
76
+ `vite@5.4.21` path traversal in optimized-deps handling. Fixed in
77
+ `vite@>=6.4.2`.
78
+ - **[GHSA-67mh-4wv8-2f99](https://github.com/advisories/GHSA-67mh-4wv8-2f99)** —
79
+ `esbuild@0.21.5` dev-server CORS misconfiguration. Fixed in
80
+ `esbuild@>=0.25.0`.
81
+
82
+ Both are pulled through `vitepress@1.6.4` (the current latest on npm),
83
+ which pins `vite` at `^5.0.0`, which in turn pins `esbuild` at `^0.21.3`.
84
+ `npm overrides` cannot force newer major versions without breaking the
85
+ vite peer contract.
86
+
87
+ Why these do not block a release:
88
+
89
+ - Both packages are in `devDependencies` only. The `files` whitelist in
90
+ `package.json` does not include `tests/` or any dev tooling; end users
91
+ installing `worclaude` via npm do not get these packages.
92
+ - Both advisories require an **active local dev server** to exploit. The
93
+ vite/vitest attack surface only exists while `npm run docs:dev` is
94
+ running and the operator browses to a hostile origin in the same
95
+ session. `npm test`, `npm run lint`, `npm run docs:build`, and CI
96
+ runs do not start a server.
97
+ - Worclaude's CI does not run `docs:dev`; it runs `test`, `lint`, and
98
+ `docs:build` only.
99
+
100
+ Tracking: a GitHub issue is opened to bump `vitepress` once a release
101
+ using `vite@>=6.4.2` lands upstream. Until then the scanner will continue
102
+ to flag these, and we accept the dev-only risk.
103
+
104
+ ### brace-expansion DoS (fixed via override)
105
+
106
+ [GHSA-f886-m6hf-6m8v](https://github.com/advisories/GHSA-f886-m6hf-6m8v) —
107
+ `brace-expansion@<1.1.13` zero-step sequence. Fixed in 1.1.13; enforced
108
+ via `"overrides": { "brace-expansion": "^1.1.13" }` in `package.json`
109
+ since v2.6.2. Pulled by `eslint@9.x → minimatch@3.x`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "worclaude",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "The Workflow Layer for Claude Code — scaffold agents, commands, skills, hooks, and memory into any project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -77,5 +77,8 @@
77
77
  "prettier": "^3.5.3",
78
78
  "vitepress": "^1.6.4",
79
79
  "vitest": "^3.0.9"
80
+ },
81
+ "overrides": {
82
+ "brace-expansion": "^1.1.13"
80
83
  }
81
84
  }