BLACKFROST RESEARCH · AUTHORIZED CYBERSECURITY & DEFENSIVE AI
De-risked, cyber-hardened derivative of moonshotai/Kimi-K3.1-Pro · weights published (build a7.0) · manually gated, unlocked after purchase
STATUS: Weights published — refusal measured; capability bench in progress
The checkpoint is uploaded: 96 SafeTensors shards (~1.42 TiB), build a7.0, with stock and residual-pass restore journals included for weight swapping.
Measured (false-refusal rate only). On a fixed 443-prompt bench, judged end-to-end at temperature 1.0 with thinking on:
Build Refused / 443 Rate Prior build (a6.0) 323 72.9% Published (a7.0) 302 68.2% Residual pass (R2) 267 60.3% On the 75 benign control prompts, over-refusal fell from 1 to 0. Lower is better throughout.
Refusal rate is not a capability score. General capability, agentic task performance, and CyberGym results are in progress and will be published when complete. Until then, no capability, safety, or throughput number is claimed, and none should be inferred from the upstream model's results.
Update — 2026-11-17: K3-Offsec-Engine tree sync + anti-repetition sampling guidance
Weights, tokenizer, and serving template are unchanged by this update. It
refreshes the companion K3-Offsec-Engine/ source tree and
adds serving guidance below.
What changed in the sidecar tree
The published tree previously lagged the maintained source (last full sync 2026-11-11). This update brings it current: 15 files refreshed, 7 added.
- Empty tool-call name repair on the operation route. The
kimi-compatiblerepair of empty tool-callfunction.namevalues previously existed only on the gateway route; the operation agent (serve) now applies the same repair to model replies before history replay. - Bounded transient-failure retries. Model requests now retry transient
upstream failures (origin timeouts, rate limits, connection errors) with
exponential backoff and
Retry-Aftersupport. Tunable under[model]:request_max_attempts(default 4),request_retry_base_seconds(1.0),request_retry_cap_seconds(30.0),request_retry_after_cap_seconds(180.0). Retry events are recorded in operation receipts. - Research-and-planning capability pack. New evidence-bound research ledger
with byte-exact source-quote verification, question/contradiction tracking,
versioned plans and decisions, and gated export. Opt-in via
--research-dir <private-directory>; ships with theresearch-planningandevidence-bound-researchskills. Addsresearch.pyand its tests — the refreshedtools.py/capabilities.pyimport it, so pull the whole tree, not individual files. - Reserved tool namespace renamed
sidecar_*→k3oe_*. The capability meta-tools are nowk3oe_search_capabilities,k3oe_inspect_capability,k3oe_activate_capability, and caller tool names beginning withk3oe_are reserved. Migration: clients that hardcoded the oldsidecar_*names must update; the old prefix is no longer reserved. - Installer fixes (restart TIME-WAIT handling, exec-window identity race) and
probe-modelminimal-gateway-config support — partially shipped in the 2026-11-12 sync; their tests and the remaining CLI changes are refreshed here. Also new: architecture diagram and refreshed deployment docs (AGENTS.md,docs/SERVE-GATEWAY.md).
Validation of the synced source: 391 tests passed, 4 skipped, 63 subtests
passed (CPU-only test suite). Gateway promotion remains probe-gated per pair:
run probe-gateway against your exact served route before treating any
model/engine pairing as promoted.
Serving guidance: repetition loops
We have observed repetition degeneration in at least one long agent run with
this model family: single-token collapse (one word repeated thousands of
times) and word-level loops in free text. The shipped defaults provide no
anti-repetition control — repetition_penalty: 1.0,
no_repeat_ngram_size: 0 in config.json, and generation_config.json adds
none — and common OpenAI-compatible clients send no penalty either.
Recommendations for self-hosted serving:
- Set a mild repetition penalty on the server or per request, e.g.
repetition_penalty ≈ 1.05(SGLang:--repetition-penalty; vLLM: sampling params /--repetition-penaltydepending on version). Start mild; strong penalties can degrade code and structured output. - Keep a top-k cap (the shipped
top_k: 50is a reasonable floor); avoid full-vocabulary sampling (top_k = -1) at temperature 1.0 for long agent runs. - Bound agent turns client-side. Terminate a turn after repeated identical tool calls instead of relying on error-text feedback alone; the operation route's built-in guard blocks repeated identical calls but does not by itself end a turn.
- If your client replays assistant
reasoning_contentback into the prompt, consider truncating or dropping degenerate reasoning before replay — re-injecting collapsed text gives the model its own degeneration as the pattern to continue.
These are serving-side mitigations; they do not modify the checkpoint.
Why This Repository Exists
This repository will publish a behaviorally modified Kimi-K3.1-Pro checkpoint intended for authorized security research, red-team evaluation, guardrail testing, and controlled deployment qualification.
The upstream model is a compliance-oriented general assistant. For security work, that orientation is an obstacle: it declines or hedges on the exact benign-but-sensitive behaviors — malware analysis, exploit and payload construction, dual-use tooling, offensive technique discussion — that authorized security professionals need exercised. This derivative is built to remove that obstacle in a controlled, disclosed way.
What This Model Is For
Intended use. Authorized security engineering: red-team and purple-team engagements, malware and exploit analysis, dual-use tooling, guardrail testing, and controlled deployment qualification — work where a general assistant's compliance posture costs the operator real time.
Intended operating mode. The model is one half of a tuned pair. The weights carry the de-risking and the domain SFT; the companion K3-Offsec-Engine carries methodology — progressive skill and tool turns, engagement state, and route receipts. The engine is strongly recommended, not decorative: the measured gains in output quality and thinking cost come from the pairing, not from the weights alone.
What it is not. Not a general-purpose chat model, not a drop-in production release, and not an unbounded model. The de-risking removes false refusals; it does not remove the operator's obligation to scope and supervise the work.
Why The Pairing Matters
The weights make the model answer. The engine makes the answers professional — and cheaper to produce.
Measured running the same engine build (0.4.0a1), five runs per arm at temperature 1.0:
| What was tested | Weights alone | Weights + engine |
|---|---|---|
| Attack planning (0–5) | 3.6, never perfect in 5 runs | 5.0, perfect in all 5 |
| Logic-bug discovery (0–5) | 3.5 | 3.8 — no measurable change |
| Thinking cost (reasoning tokens) | 100% | ~45% (−55%) |
| Answer completeness | terser | ~2× longer |
The pattern is consistent: where the bare model already performed well, the engine changed little; where methodology was the missing ingredient, it moved the result to the ceiling — and did it while spending roughly half the reasoning tokens. Less re-derivation, more answer.
Provenance. These figures were measured on a companion model with the same engine build, not on this checkpoint. They establish the engine's effect, not this model's absolute performance. Capability evaluation for this checkpoint is in progress (see status).
A legal-domain arm scored 65.7 → 66.0 of 69 (+0.5pp) on a 12-task exam — a null result, and reported as one: the bare model already scored 95%, leaving too little headroom to measure a difference. That test needs harder tasks before it can show anything.
What Was Done to the Model
Two modifications are applied to the upstream moonshotai/Kimi-K3.1-Pro checkpoint, and nothing else:
Zero-Sidecar Weight Integrity: The modification is carried entirely in the weights — no runtime patch, serving overlay, or system-prompt bake is required to load or speak this checkpoint. The private method, recipe, and training data are not distributed in full; a reproducible recipe is published alongside the weights in
DWM-RECIPE/. An optional runtime engine is distributed in this repository's sidecar tree and is strongly recommended for security work, but the model loads and answers without it.
Specifications (Inherited from Upstream)
Architecture, tokenizer, chat template, generation configuration, vision tower, and multimodal components are inherited from upstream unmodified in structure. Only the two disclosed weight modifications differ from the upstream checkpoint.
Cryptographic & Weight Lineage
moonshotai/Kimi-K3.1-Pro (Upstream Foundation Checkpoint)
│
├── [Stage 01] DWM De-Risking Weight Edits
│ └─ Refusal-direction subtraction on selected non-expert residual-stream writers
│ └─ Router gates, 896 MoE experts, vision tower & tokenizer preserved 1:1
│
└── [Stage 02] Blackfrost Cyber SFT
└─ Cybersecurity-domain supervised fine-tune (dual-use, tool reasoning, conduct)
│
▼
Blackfrost-Research/Kimi-K3.1-Pro-DERISKED ← THIS REPOSITORY
Blackfrost Research is responsible only for this derivative package. Moonshot AI is the upstream model developer and does not endorse this derivative.
Access: Manually Gated, Unlocked After Purchase
This repository is manually gated, and the checkpoint is unlocked only after purchase. To obtain access:
➜ Purchase access to this model — $599 — enter your Hugging Face username at checkout, and your access is granted automatically once payment is confirmed.
➜ Pay with USDC (Solana) — 599 USDC to C65NmgdrtppzXuE8wruPJaLE7NkBgawbCXjchdCkdSWH — include your Hugging Face username as the transfer memo, and click "Agree and request access" on this repo before sending. Access is granted once the transfer confirms (typically within the hour). Send only USDC on Solana; any other asset or network cannot be recovered.
License terms for access requests are the upstream Kimi K3.1 Pro License terms (see License). Manual gating and purchase gating are access controls, not safety guarantees.
Verification and Evaluation Status
No benchmark, throughput, refusal-rate, safety, or capability claim is made for this derivative at this time. Upstream results must not be treated as measured results for this checkpoint.
Infrastructure & Serving Reference (Post-Unlock)
Full Upstream-Precision Reference Cluster
- Precision Profile:
Native Shipped Precision (96 Shards) - Memory Footprint:
~1.42 TiB indexed weights + KV cache headroom - Target Topology: 2× 8×H200 (141GB) or 2× 8×B200 NVLink Node Cluster
- Operational Note: Preserves exact upstream tensor representation across all 93 layers and 896 routed experts.
sglang.launch_server --model-path Blackfrost-Research/Kimi-K3.1-Pro-DERISKED --tp 16 --ep 16 --trust-remote-code --context-length 1048576
High-Density Research Assessment Node
- Precision Profile:
Multi-Node Tensor + Expert Parallelism (TP8/PP2) - Memory Footprint:
~1,600 GB aggregate cluster memory - Target Topology: 16× H100 80GB SXM5 (InfiniBand RoCEv2)
- Operational Note: Recommended for isolated air-gapped security evaluation and Cyber-Frost Harness validation.
vllm serve Blackfrost-Research/Kimi-K3.1-Pro-DERISKED --tensor-parallel-size 8 --pipeline-parallel-size 2 --enable-expert-parallel --max-model-len 262144
Companion Sidecar: K3-Offsec-Engine
The zero-sidecar guarantee above applies to the weights: the modification
is carried entirely in the checkpoint, with no runtime patches, serving
overlays, or system-prompt bakes required to load or speak the model. The
companion operation layer, K3-Offsec-Engine, is distributed in this
repository's K3-Offsec-Engine/ tree and is strongly
recommended for security work: the model answers without it, but the engine
is the intended operating mode for authorized tool-driven engagements.
When authorized security-tool work is intended, K3-Offsec-Engine serves as an engine-neutral OpenAI-compatible gateway in front of the private inference route. It owns progressive skill/MCP tool turns, keeps the raw model port private, and emits prompt-free route receipts. It does not alter weights, tokenizer files, or the serving template.
k3-offsec-engine serve-gateway \
--config config.kimi.toml \
--token-file /private/path/to/gateway-token \
--engine-profile kimi-compatible \
--host 127.0.0.1 --port 8915 \
--receipt-root /private/path/to/gateway-receipts
k3-offsec-engine probe-gateway \
--base-url http://127.0.0.1:8915/v1 \
--token-file /private/path/to/gateway-token \
--receipt-root /private/path/to/gateway-receipts
Verified against this model family on 2026-11-11: the route probe passed
(ok: true, progressive capability activation skill:target-triage, receipt
f98275ba1e9b694cc62df15506d8565ba39fd8d7efe16b15ef04717f4a487cc4). The
kimi-compatible engine profile handles the two endpoint quirks observed for
Kimi K3.1 Pro routes (it drops chat_template_kwargs, which strict routers
reject with HTTP 400, and repairs empty tool-call function.name values on
history replay). Follow the sidecar AGENTS.md deployment contract and treat
the pairing as promotion-gated: do not label the gateway production-promoted
for a model/engine pair until probe-gateway passes against that exact
served route — hosted-API results do not transfer to self-hosted SGLang or
vLLM endpoints, and vice versa.
Operational Scope: Intended Use vs. Limitations
License and Attribution
This derivative is distributed under the upstream Kimi K3.1 Pro License (Copyright © 2026 Moonshot AI), included as LICENSE when weights publish. That license grants use, copying, modification, distribution, sublicensing, sale, deployment, fine-tuning, and derivative works; this release is a derivative work under it.
See the moonshotai/Kimi-K3.1-Pro repository for upstream documentation and attribution.
The information on this page is provided as-is. For questions or responsible reporting, use this repository's Discussions.