Skip to main content

Voice Risk Signal Pack Reference

The voice-risk-signal pack (v1) is an Enterprise add-on for self-hosted Enterprise deployments. It applies on the Decision API (POST /api/v1/decide) only; Hosted is out of scope for v1, and a Community build does not carry policy packs.

What it does​

A customer captures an utterance in its own identity or payment system. A partner detector, running in the customer's environment, scores it and signs the result with Ed25519. The customer's payment system sends that signed result, the voice risk signal, in the decide request's context as voice_risk_signal. AxonFlow checks that the signal is authentic, fresh, produced by a model the operator reviewed, and bound to this request, and decides on the existing wire: allow, deny or needs_approval.

  • AxonFlow runs no voice model and never receives audio. The signal carries scores, a quality indicator, a model id and version, an opaque reference to the provider's own evidence, and the action binding. It has no field that could carry audio, a voiceprint, a transcript or a phone number, and a signal with any field outside its contract is refused.
  • A clean signal never authorizes a payment by itself. The pack is an overlay with no allowing control. A clean signal removes the voice block and nothing else; every other control on the request still decides. The engine's answer is the most restrictive of all controls.

The pack is configured only for the organizations, tenants and exact tool targets an operator-reviewed profile names.

How a signal is decided​

CaseVoice dispositionWire
Authentic, bound, fresh, reviewed model, score below the pass threshold, quality at or above the minimumno blockevery other control decides
Status suspect, or a score at or above the suspect thresholdrefuse or hold, as the profile setsdeny or needs_approval
Status inconclusive, a score in between, quality below the minimum, status unavailable, no signal, or a signal that is expired or too oldstep-up or hold, as the profile setsdeny or needs_approval
Unsigned, an unregistered provider or key, a key outside its validity window, a signature that does not verifyholdneeds_approval
For another organization, tenant, target or action; a model the operator did not review; a nonce already usedholdneeds_approval
Outside the contractrefusedeny
The profile entry was reviewed against another pack version, or its review expiredholdneeds_approval

A step-up is a deny naming voice_risk_step_up_required. The customer runs its own challenge (a bound passcode or an equivalent customer-controlled check, not a voice enrollment) and retries the same decide request with a verifier object added to the signal. AxonFlow never receives the passcode. A verifier outcome can release a step-up once; it never lifts a hold or a refusal.

A signal is bound to the authenticated organization, tenant and target, to the request's own typed statement of the action (the prepaid event on a prepaid payment risk tool, or a declared voice_gated_action on any other gated target), and to one decide request: its nonce is spent once.

The operator guide in the Enterprise source tree (technical-docs/VOICE_RISK_SIGNAL_PACK_OPERATOR_GUIDE.md) publishes the signal, action-digest, signed-bytes and challenge-reference forms a partner adapter must produce.

Enabling it​

Before you activate it:

  1. Name the organization, the tenants and the exact tool targets that are voice-gated. Activation is per tenant and per target, by exact name.
  2. Register the detector provider in the profile: its provider id, every Ed25519 public key it signs with (each with a validity window), and every model id and version you reviewed.
  3. Set the thresholds with the customer's payment risk owner, after evaluating the partner's detector on representative samples. The example profile's values are placeholders.
  4. Bind the pack's approver pool, voice-risk-signal-reviewers, to a directory group before the first hold (see Pack Approvers). An unbound pool's holds cannot be approved.

Then set, on the agent:

AXONFLOW_POLICY_PACKS=voice-risk-signal # with any other packs, comma-separated
AXONFLOW_VOICE_RISK_SIGNAL_EXPECTED_VERSION=1
AXONFLOW_VOICE_RISK_SIGNAL_PROFILE_FILE=/etc/axonflow/voice-risk-signal-profile.json

The agent refuses to start when the pack cannot be instantiated, when the version pin is missing or names another version, or when the profile is missing, unreadable or invalid (naming every problem). A profile may not gate a payment-exception or support-refund target. Keys rotate by overlap: register the new key under a new key_id, then remove the old one after its last signal has expired. Every change is a profile edit, a review and a restart; the agent fetches no key online.

A new pack version refuses to start until you re-pin it, and a profile reviewed against another version holds its decisions. To roll back, remove the pack name and restart: decisions on the gated targets are then made exactly as before the pack.

What it records​

Migration enterprise/173 creates voice_risk_signal_uses: one row per authenticated signal's first use, and one per discharged step-up. A row holds the provider, nonce, key id, digests of the request, action and signed bytes, the model id and version, status, quality, score, the evidence reference, the disposition, the control ids and reason codes, the pack and profile digests, and its replay window. It holds no audio, no action value and no actor or beneficiary reference. The table is write-once by trigger, under forced row-level security, and the application role may only read and insert. A row's approval_id and approval_replayed_at are each written once, from empty, to link a decision to the approval queued for it and to record the one replay that approval admits.

A cleanup deletes rows an hour past both their replay window and their signal's expiry. The decision's log line carries the profile and pack digests, a digest of the signal, the stored decision id, the disposition and reason codes, never the signal.

If the decision store is unreachable on a gated decision with an authenticated signal, the answer is 503 and nothing is decided.

Limits​

The pack's own statements, quoted from its sources:

It runs no voice model and never receives audio: detector inference stays in the customer's environment. It is an overlay with no allowing control, so a clean signal never authorizes a payment by itself; every other control still decides. It states no detection rate and makes no compliance claim.

It makes no accuracy claim. The pack states no detection rate, no false-accept or false-reject rate. The shipped evaluation harness reports those metrics over a labelled fixture set; over the shipped synthetic fixtures the numbers measure the harness, not any detector.

It is not a compliance statement. Installing it does not make a deployment compliant with any law, regulation or biometric-processing rule. The policy category the controls carry is named compliance-voice-risk because that is the category family the Decision API admits pack controls under; the name claims nothing.

A synthetic demonstration is not a production gate. Production use needs the partner detector's representative traffic and attack samples, jointly agreed operating thresholds, privacy and security review, latency and availability checks, monitoring and a safe rollback.

The evaluation report shipped with the pack's synthetic fixtures opens with:

These numbers describe the fixture set named below and the harness that computed them. Over synthetic fixtures they measure the harness, not any detector, and they are no accuracy claim.

Scope of v1:

  • Decision API only. The MCP and other planes do not consult the signal.
  • The signal travels inline in the decide request. There is no webhook or callback receiver.
  • Keys rotate by profile review and restart; there is no online key distribution.
  • On a prepaid target where both packs ask a step-up, the prepaid retry carries a new event, so the voice pack sees another request and holds.
  • No detector, threshold or calibration has been validated on representative traffic.