# Can expert routing flag risky actions before a tool call? DeepSeek demo + results

> Source: <https://discuss.huggingface.co/t/can-expert-routing-flag-risky-actions-before-a-tool-call-deepseek-demo-results/192889#post_1>
> Published: 2026-11-30 13:46:15+00:00

**Recommendation:** Probe pooled expert-routing selections after thinking ends but before the tool call is generated to flag risky actions early; the source measured 77.5% detection at a 4.4% false-alarm rate, and these are alert rates, not blocking rates.
More in the playbook "Securing agents and AI tools": <https://wpnews.pro/playbooks/agent-security>

We’re the SeedSky team. We’re studying whether DeepSeek’s expert-routing patterns can provide a useful risk signal after thinking ends but before the next tool call is written.

We record which experts are selected across recent tokens, pool those selections, and use a trained probe to produce a risk score.

In a sandbox study covering 2,144 tasks, at the same alarm threshold:

| Actual action type | Alert raised | No alert | 
|---|---|---|
| Risky | 77.5% detected | 22.5% missed | 
| Benign | 4.4% false alarms | 95.6% correctly left unflagged | 

Each row has its own denominator. These are alert rates, not blocking rates. Scores were recorded before call generation; labels came from the corresponding action’s actual effect in the sandbox.

The video explains the readout and illustrates a separate permission check after an alert.

It also presents a separate streaming-reply experiment: 52% of harmful replies were flagged after the first 16 output tokens. The 4.4% false-alarm rate above belongs to the sandbox study, not that streaming test.

**Video & results:**

**Research article:**

**Feedback we’re looking for**

What would be a useful test of the added value of this earlier signal over inspecting a completed tool call before execution?

One possibility is paired tasks where the same action is authorized in one context but not another.

We’d welcome concrete counterexamples, evaluation tasks, and baseline suggestions.
