[Bug]: Local path, shell, channel, plugin, and update checks use the wrong target
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 15/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- node.js, typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.3k
- Forks
- 315
- Ø Merge
- 3 Std. 54 Min.
- Gemergte PRs (30 T.)
- 9
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus MiniMax-AI/minimax-code
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
MiniMax-AI/minimax-code#639 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
MiniMax-AI/minimax-code#636 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
MiniMax-AI/minimax-code#615 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
MiniMax-AI/minimax-code#556 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
MiniMax-AI/minimax-code#507 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in MiniMax-AI/minimax-code
Ähnliche Issues
-
[Bug]: A Markdown link with both a :line suffix and a #L fragment opens a path containing ":line"Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
status:needs-triage type:bug workstream:refimpl
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
GenAI-Security-Project/agent-control-standard#764 ·
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
TanbirRamim/vibereel#39 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
lingdojo/kana-dojo#34988 · 1 Kommentar · 5 Reaktionen ·
Maintainer antworten meist innerhalb von 1 Tag