T05 · Unauthorized Access and Privilege Escalation
- Location
src/spawn/run.ts:34- Finding
Delegated CLI Agents Inherit the Complete Parent Process Environment
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This appears to be a real coding-delegation tool, but it gives delegated CLI agents broad access that is not fully disclosed in the Kimi-focused skill description.
Review before installing. Use it only for repositories and prompts you are comfortable sending to the selected external CLI provider, pin the intended provider explicitly, and run it with a minimal environment that excludes unrelated secrets. Avoid using it from non-git directories unless you accept direct workspace modification, and check for an existing AGENTS.md before running tasks or cleanup.
src/spawn/run.ts:34Delegated CLI Agents Inherit the Complete Parent Process Environment
src/cli/execute.ts:139Non-Git Execution Silently Loses Worktree Isolation and Overwrites AGENTS.md
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- **Allowed:** Single segment only: alphanumeric and hyphens (e.g. UUIDs like `550e8400-e29b-41d4-a716-446655440000`). No path separators (`/`, `\`), no `..`, no leading hyphen.
- **Resolution:** Paths are resolved with `path.resolve(basePath, taskId)` and checked to remain under `basePath` before reading files or running `git worktree remove`. Invalid `taskId` is rejected with an error.
This prevents arbitrary file read (e.g. `status ../../../../etc/passwd`) and destructive worktree remove in arbitrary directories.
## Credentials and environment variables
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.
A generic provider interface is broader than a Kimi-only delegation skill and should be treated as such for review and permissions. Broad abstractions increase the chance of future capability creep without corresponding manifest updates.