Gửi #1082489: MoonshotAI Kimi Code 2.5.2 Improper Authorizationthông tin

tiêu đềMoonshotAI Kimi Code 2.5.2 Improper Authorization
Mô tảKimi Code up to 2.5.2 supports a global tool switch in config.toml ([tools] disabled = ["Bash"]), and the policy engine treats an absent tools section as "no restriction". The config service keeps running when the initial config read fails, but AgentToolPolicyService reads [tools] with config.get(), gets undefined for that failed read, and installs the global denylist as "no restriction". The disabled tool is offered to the model again and, in -p/auto mode, executes without approval; the process exits 0 and stderr is empty, so a headless or CI run looks successful. Any deployment that treats [tools] as the boundary for an unattended agent loses that boundary after one unreadable file: CI jobs, scripts, kimi -p automation, review/sandboxed agents that disable shell or network tools, and kimi web / kap-server sessions sharing the same config and tool-policy path. A disabled Bash returns arbitrary shell execution; a disabled FetchURL or WebSearch returns outbound network access, because every tool goes through the same composed check. A CI job that was supposed to run without shell runs with shell, with the same exit code and no warning; the next scheduled run silently keeps the looser default until someone reads the per-home log. A self-write path adds delayed escalation: an agent that could not run shell in one run can write the config and obtain shell in the next. The trigger is an existing config.toml that cannot be parsed or read (non-atomic write, path replaced by a directory, lost permission). A missing or empty file is the documented first-run default and is not the issue; an existing but invalid file is treated as "not configured".
Nguồn⚠️ https://github.com/MoonshotAI/kimi-code/pull/4761
Người dùng
 EM123 (UID 102854)
Đệ trình09/11/2026 12:42 (cách đây 21 ngày)
Kiểm duyệt30/11/2026 17:03 (21 days later)
Trạng tháiđược chấp nhận
Mục VulDB445863 [Moonshot AI Kimi Code đến 2.5.2 Tool Policy toolPolicyService.ts AgentToolPolicyService nâng cao đặc quyền]
điểm20

Do you need the next level of professionalism?

Upgrade your account now!