MoonshotAI / MoonshotAI/kimi-cli
security issue: kimi needs to print full commands, and maybe stop cd-ing so much
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.4k
- Forks
- 1.3k
- Avg merge
- 9h 47m
- Merged PRs (30d)
- 2
Description
Here's an example of kimi running a command on my system using kimi-cli
• Used Shell (cd /home/ai/gradle-semver...5e0 2>/dev/null | head -5)
You tell me what this command was? I have no idea, I swear that kimi (and other agents) do this because they're actively trying to obscure what they're up to so we don't yell at them. I have my agents pretty isolated, so they can't really do any damage, but I'd still like to know what they're up to, even if it's just to ensure that they're not barking up the wrong tree. From a security perspective, we need to be able to easily see the full audit log of any commands or functions they're calling, ideally in the window, although a more parseable log would be nice for true security audits.
kimi, version 1.22.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names kimi-cli and its Shell command output but no files or tests. Start by locating the command execution, rendering, and audit-log entry points, then clarify whether the scope includes full command display, fewer directory changes, parseable logging, or all three. Done should be defined by verifiable command visibility and audit output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, shell
- Domain
- cli, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100