T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:81- Finding
Recommended Headless Modes Implicitly Enable Unrestricted File and Shell Operations
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent Kimi CLI automation guide, but its recommended headless modes can grant automatic file changes and shell execution without enough scoping or containment.
Review before installing. Use this skill only in trusted, isolated project directories, avoid CI environments with secrets unless tightly sandboxed, and require explicit approval before any --quiet, --print, or --yolo run that could modify files or execute commands. Verify the Kimi CLI package source and prefer pinned, isolated installation.
SKILL.md:81Recommended Headless Modes Implicitly Enable Unrestricted File and Shell Operations
SKILL.md:132User-Controlled Task and Path Values Are Interpolated into Shell Commands Without Safe Escaping
SKILL.md:228Unpinned Third-Party CLI Installation Is Recommended Without Integrity Verification
The file declares language: zh-CN and presents the skill entirely in Chinese, which effectively imposes a specific language/locale on use of the skill. The document does not state that users may choose another language or that the locale restriction is required for a region-specific purpose.
The skill explicitly supports an auto_approve input that maps to --yolo, which authorizes file modifications and shell command execution in headless mode. In automation, CI/CD, or non-interactive environments, this can remove human approval gates and allow destructive or unintended actions if the prompt, workspace, or model output is unsafe or manipulated.
type: string
enum: [quiet, print, stream-json, wire]
description: 输出模式选择
auto_approve:
type: boolean
description: 是否启用 --yolo 自动审批
model: