superpowers-mcp 6.0.0 → 6.0.1

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/README.md CHANGED
@@ -128,7 +128,10 @@ These skills are designed for orchestrating complex meta-execution patterns with
128
128
 
129
129
  ## 🆕 Recent Updates
130
130
 
131
- ### v6.0.0 (Latest)
131
+ ### v6.0.1 (Latest)
132
+ - **Security Fix — Reflected XSS (#2)**: Fixed server-side reflected cross-site scripting in `skills/brainstorming/scripts/server.cjs`. The `bootstrapPage()` function was called with the user-supplied `keyFromQuery` parameter (even though validated via `timingSafeEqualStr`). Changed to use the server-side `TOKEN` constant instead, eliminating user-tainted data from the HTML response sink. Zero behavior change (the validated value is identical).
133
+
134
+ ### v6.0.0
132
135
  - **Upstream Sync with obra/superpowers v6.1.1**: Major synchronization bringing upstream improvements across all skills.
133
136
  - **subagent-driven-development Redesign**: Consolidated two-stage review (spec → code quality) into a single "task reviewer" sub-agent, plus added a broad **whole-branch final review** at completion. New **Pre-Flight Plan Review** catches task conflicts before execution begins. Added **Model Selection Guidance** to optimize cost vs. turn count.
134
137
  - **using-superpowers Simplified**: Removed platform-specific sections and Graphviz diagram. Introduced **per-platform reference files** (`antigravity-tools.md`, `pi-tools.md`) and updated `codex-tools.md` for cleaner multi-environment support.
package/README.zh-TW.md CHANGED
@@ -128,7 +128,10 @@
128
128
 
129
129
  ## 🆕 最近更新
130
130
 
131
- ### v6.0.0 (最新版)
131
+ ### v6.0.1 (最新版)
132
+ - **安全性修復 — Reflected XSS (#2)**: 修復 `skills/brainstorming/scripts/server.cjs` 中的伺服器端反射型跨站腳本漏洞。原本 `bootstrapPage()` 使用使用者提供的 `keyFromQuery` 參數(雖已通過 `timingSafeEqualStr` 驗證),現改為使用伺服器端 `TOKEN` 常數,徹底消除使用者可控資料進入 HTML 回應的風險。行為完全不變(驗證後的值相同)。
133
+
134
+ ### v6.0.0
132
135
  - **同步上游 obra/superpowers v6.1.1**: 大規模同步,引入上游對所有技能的改進。
133
136
  - **subagent-driven-development 流程改造**: 將原本的兩階段審查(規格 → 程式碼品質)合併為單一 **task reviewer** 子代理,並在最後增加 **whole-branch final review**。新增 **Pre-Flight Plan Review** 在執行前掃描任務衝突。新增 **Model Selection Guidance** 以最佳化成本與回合數。
134
137
  - **using-superpowers 簡化**: 移除平台特定說明與 Graphviz 圖表,改為 **各平台獨立參考檔案**(新增 `antigravity-tools.md`、`pi-tools.md`,更新 `codex-tools.md`),更乾淨地支援多種 AI 環境。
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "superpowers-mcp",
3
3
  "displayName": "Superpowers MCP",
4
4
  "description": "Superpowers skills library (TDD, debugging, collaboration workflows) as an MCP server for VSCode and Antigravity",
5
- "version": "6.0.0",
5
+ "version": "6.0.1",
6
6
  "publisher": "superpowers",
7
7
  "license": "MIT",
8
8
  "repository": {
@@ -380,7 +380,7 @@ function handleRequest(req, res) {
380
380
  const keyFromQuery = qIdx >= 0 ? new URLSearchParams(req.url.slice(qIdx + 1)).get('key') : null;
381
381
  if (req.method === 'GET' && pathname === '/' && keyFromQuery && timingSafeEqualStr(keyFromQuery, TOKEN)) {
382
382
  res.writeHead(200, securityHeaders({ 'Content-Type': 'text/html; charset=utf-8' }));
383
- res.end(bootstrapPage(keyFromQuery));
383
+ res.end(bootstrapPage(TOKEN));
384
384
  } else if (req.method === 'GET' && pathname === '/') {
385
385
  const screenFile = getNewestScreen();
386
386
  let html = screenFile