Open agent boundary
Native Kimi speaks ACP directly; the alternate provider path runs Kimi behind Claude Code.
Kimi Code security scan
Use Kimi Code's native ACP agent—or Kimi behind Claude Code—while Bex Security validates findings and preserves reviewable scan artifacts.
Open source · Apache 2.0 · Report-only by default
npm install --global @bex-co/bex-security
kimi login
bex-security scan . --agent kimi --model kimi-code/k3-256k --effort highKimi K3
Selected model
Kimi Code
Agent runtime
Bex Security
Security orchestration
More than a prompt
Kimi investigates the repository; Bex supplies the repeatable workflow that turns model reasoning into evidence an engineer can verify.
Define source boundaries and permissions before investigation begins.
Use Kimi K3 to trace likely vulnerability paths across the scoped codebase.
Challenge candidate findings and reject claims that lack support.
Preserve reviewable findings, evidence, and coverage as local artifacts.
The Bex layer
Choose native Kimi Code or the Claude provider path without changing what counts as a complete, validated scan.
Native Kimi speaks ACP directly; the alternate provider path runs Kimi behind Claude Code.
Bex keeps repository scope, workbench tools, validation, coverage, and final artifacts consistent.
Native scans use Kimi's saved login; the Claude provider path receives KIMI_API_KEY only for the current process.
Quick setup
Install Bex Security and Kimi Code, log in once, then select the native Kimi agent and an available model.
Use the Kimi provider path with a scoped API key; it defaults to kimi-for-coding.
export KIMI_API_KEY="<your-kimi-api-key>"
bex-security scan . --agent claude --provider kimiInstall @bex-co/bex-security from npm and follow Kimi's official installation guide so kimi is on PATH.
Run kimi login once. Native scans use Kimi Code's saved authentication and provider settings.
Pass --agent kimi and optionally choose the model and reasoning effort advertised by the Kimi ACP session.
Use --agent kimi when you want Kimi Code to own authentication, model selection, and the ACP session. Use --agent claude --provider kimi when your team wants to keep Claude Code as the agent shell.
Native scans use the login saved by Kimi Code. The Claude provider route reads KIMI_API_KEY for the current scan and Bex does not store that key.
Not during an ordinary scan. Bex keeps scans report-only unless you explicitly request patching after findings have been validated.
Install Bex Security when you want Kimi's code reasoning inside a workflow that validates findings and preserves evidence.
Star Bex SecurityOne workflow · Open agent layer · Validated evidence