Purpose
Risk scores in TealTiger provide a deterministic, quantitative signal that represents how risky a request, action, or execution context is across security, cost, and reliability. Rather than relying solely on binary allow/deny outcomes, TealTiger evaluates risk on a normalized spectrum, enabling:- Graduated enforcement
- Context-aware decisions
- Explainable governance
- Policy-driven automation
Risk Score Contract (Normative)
This section is normative. Any risk score produced by TealTiger MUST conform to the following rules.Required properties
A risk score MUST include:score— a normalized numeric value in the range0–100level— a categorical interpretation of the scoreversion— the risk model version used to compute the score
Optional properties
A risk score MAY include:domain_scores— per-domain breakdowns for security, cost, and reliabilitysignals— identifiers of contributing signals (when exposed)
Applications should not rely on raw scoring formulas. They should rely on
score, level, and policy thresholds.Risk Score Range and Scale
TealTiger uses a normalized numeric range:- 0 — no meaningful risk
- 100 — maximum unacceptable risk
- comparability across domains
- stable policy thresholds
- consistent audit interpretation
Risk Levels (Categorical)
Numeric scores are mapped to categorical risk levels for human and policy readability. The following levels are defined:- LOW — acceptable risk
- MEDIUM — elevated risk; review or restriction may apply
- HIGH — unacceptable risk; enforcement likely required
Exact numeric boundaries between levels are implementation details. Policies should target levels or ranges, not internal formulas.
Domain-Specific Risk
Risk in TealTiger is intentionally multi-dimensional.Security risk
Security risk reflects the likelihood or impact of:- unauthorized tool access
- data exfiltration or leakage
- policy circumvention attempts
Cost risk
Cost risk reflects the likelihood or impact of:- excessive token usage
- budget overruns
- inefficient model or tool selection
Reliability risk
Reliability risk reflects the likelihood or impact of:- timeouts and retries
- cascading failures
- degraded service quality
Composite vs Domain Scores
scorerepresents the composite risk.domain_scores(when present) represent per-domain contributors.
- act on the composite score
- act on individual domain scores
- combine both approaches
How Risk Scores Are Used
Risk scores influence decision-making in several ways:- policy thresholds (e.g., block if score > X)
- graduated actions (allow, transform, degrade, deny)
- reason code emission (explaining which threshold was crossed)
- enforcement mode behavior (monitor vs enforce)
Determinism and Stability Guarantees
TealTiger guarantees:- Risk scoring is deterministic for the same inputs and model version.
- Risk scores are versioned via
risk.version. - Meanings of score ranges and levels are stable within a version line.
- New signals or refinements may be added only in additive, non-breaking ways.
What Risk Scores Are Not
Risk scores are intentionally limited:- ❌ They are not probabilistic predictions
- ❌ They do not learn or adapt at runtime
- ❌ They do not override policy logic
- ❌ They are not free-form explanations
Example Risk Score (Conceptual)
Relationship to Decisions and Audit Events
- Risk scores inform policy evaluation.
- Decisions determine actions.
- Reason codes explain why thresholds were crossed.
- Audit events capture the risk score and decision as evidence.
Evolution Rules
- ✅ Add new risk signals (additive)
- ✅ Add new domain-specific scores
- ❌ Change the meaning of existing score ranges
- ❌ Change the normalized score range
- ❌ Introduce non-deterministic scoring
Related Reading
- /concepts/decision-model
- /concepts/decision-lifecycle
- /policy/reason-codes
- /policy/conditions-and-actions
- /audit/audit-event-schema

