cross-model-plan-review

Fail

Audited by Gen Agent Trust Hub on Jul 7, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONCREDENTIALS_UNSAFEPROMPT_INJECTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The documentation in references/agent-invocation.md and the validation script scripts/check_agents.sh recommend installing the Kimi Code CLI by piping a script from the official code.kimi.com domain directly into bash.
  • [COMMAND_EXECUTION]: The scripts/invoke_agent.sh wrapper executes system commands to interact with external AI agents, including the claude, codex, and kimi command-line interfaces.
  • [CREDENTIALS_UNSAFE]: The skill references the use of environment variables (ANTHROPIC_API_KEY, OPENAI_API_KEY) and local configuration files (~/.kimi-code/config.toml) to manage API credentials for the supported external AI services.
  • [PROMPT_INJECTION]: The skill processes user-supplied markdown documents, creating a potential vector for indirect prompt injection.
  • Ingestion points: Plan documents are read by scripts/invoke_agent.sh and SKILL.md orchestration for inclusion in agent prompts.
  • Boundary markers: The orchestration logic uses role headers and persona definitions (lead-engineer.txt, skeptic.txt) to separate instructions from plan data.
  • Capability inventory: The agent can execute external CLI tools, read/write files, and perform file system operations.
  • Sanitization: External content from the plans is interpolated directly into prompts without dedicated escaping or filtering.
Recommendations
  • HIGH: Downloads and executes remote code from: https://code.kimi.com/kimi-code/install.sh - DO NOT USE without thorough review
Audit Metadata
Risk Level
HIGH
Analyzed
Jul 7, 2026, 12:28 PM