[Bug]: Local path, shell, channel, plugin, and update checks use the wrong target
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 15/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- node.js, typescript
研究方向
The report names no source or test paths, so start by reading SECURITY.md and inspecting the referenced branch’s changes from ce13135 through e1fcc71 to locate the affected checks and regression tests. Run the listed Vitest command on that branch and review its coverage alongside the omitted symlink cases. Done means the listed boundary checks have regression coverage and pass; pnpm verify, Linux and macOS CI, and live callbacks remain unrun.
由索引模型根據 Issue 內容生成。
描述
Summary
External pull requests are not accepted from this account. A reviewed fix branch is ready for the local boundary checks below. Reproduction steps are omitted from this public issue; SECURITY.md asks that vulnerability reproduction stay private. The branch contains the offline regression tests.
Searched existing issues first. #525 and #526 are symlink bugs in turn-diff and the desktop read/write/edit tools. This report is the permission auto-allow path, plus shell-wrapper, channel, team, plugin, and update checks.
Product or interface
CLI, including the interactive TUI update path and the local runtime. Source build.
Version
Source main at 3c21163 (chore(sdk-python): release 0.1.1). Node.js v24.19.0. pnpm 9.12.0.
Platform
Windows 11 Pro, build 26200.
Issue area
Tool call / permission / sandbox, and file / workspace / path.
Corrected behavior
The branch changes these checks:
- Workspace auto-allow uses the canonical path, so a symlink inside the workspace is judged by its target.
bash -c,cmd /c, andpowershell -cpayloads are unwrapped when extra flags or a glued quote hide the inline command.- A WeChat webhook is rejected when the binding has no token.
- A Feishu card action is accepted only when its chat id matches the pending request. This does not add Lark request signing.
- Reading a team plan or its deliverable requires that plan's owner session. The plan list is unchanged, and
from_sessionremains the caller-supplied session id. - An imported plugin directory name must be a single path segment inside the plugins root.
- A prefix update deletes a staging directory only when it sits beside the active install and matches the staging name.
No new authentication layer is added to the localhost control plane.
Branch
https://github.com/Coff0xc/minimax-code/tree/security/boundary-fixes
Head e1fcc71. Commits from ce13135 through e1fcc71, based on 3c21163.
Validation
Windows, Node.js v24.19.0, Vitest 4.1.11:
npx --yes [email protected] exec vitest run --config vitest.oss.config.mjs on e1fcc71.
- Six new files passed, 16 tests: bash-wrapper unwrap 4, prefix staging 2, team plan access 3, WeChat webhook token 3, Feishu card chat 2, plugin directory name 2.
fs-permission-runtime-read.test.ts -t "workspace symlink": 1 passed, 28 skipped. The passing case reads a regular file under the home directory. The two cases that deny a symlink out of the workspace did not run, because this account cannot create symlinks.
NOT RUN: pnpm verify, Linux and macOS CI, and live WeChat or Feishu callbacks.
Checklist
- I have searched existing issues.
- I have included the version and removed sensitive information. No credentials, account data, or reproduction steps are included.
- 主要語言
- TypeScript
- 星號
- 2.3k
- 分支
- 315
- 平均合併
- 3 小時 54 分鐘
- 30 天內合併 PR
- 9
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
MiniMax-AI/minimax-code 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
MiniMax-AI/minimax-code#639 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
MiniMax-AI/minimax-code#636 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
MiniMax-AI/minimax-code#615 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
MiniMax-AI/minimax-code#556 · 4 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
MiniMax-AI/minimax-code#507 ·
維護者通常 1 天內回覆
查看 MiniMax-AI/minimax-code 的全部 Issue
相似的 Issue
-
Media browser returns "Not found" for repositories using the SHA-256 object format可能已有人在做 @adamchodera 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 66/100
janhesters/remixcn#318 ·
維護者通常 1 天內回覆
-
Interceptor LaunchTestProfile.sh: no Windows (Git Bash/MSYS) branch, test profile never launches未關閉
難度 2/5 1-3 小時 新手友好度 84/100
danielmiessler/LifeOS#3150 ·
維護者通常 5 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 1 天內回覆
-
Make the "%" unit spacing the same in the web and in A10可能已有人在做 @kragent66-glitch 今天認領。 未關閉bug good first issue
難度 2/5 1-3 小時 新手友好度 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 則留言 ·