AgentRisk scoring

A privacy score your whole team can explain.

AgentRisk is a deterministic, severity-weighted risk index from 0 to 1, defined in a published benchmark. The same trace always yields the same score, so a regression in CI means the agent changed, not the judge.

Deterministic by design

The score is a closed-form function of the findings and the audited vault. No model decides the number, so it never drifts between runs.

  • Same trace, same score, every time
  • Severity-weighted, normalized 0 to 1
  • A readable 0-100 privacy score
  • Reproducible in CI and offline

Grounded in the benchmark

AgentRisk uses the same channels and severity model as the published AgentLeak benchmark, extended with two peer-reviewed datasets, so results are comparable across agents and versions.

  • 283 bundled scenarios across 3 leak modes
  • Adversary levels A0-A2
  • Comparable across agents
  • Trend the score over time

Built for regressions

Track the score per agent and per release. A rising risk index is an early, quantified warning before anything ships.

  • Per-agent leaderboard
  • Per-release trend line
  • Threshold you set per project
  • Evidence attached to every run

Inside the capability

Three views of how it works.

SEVERITY WEIGHTS
L10.08L20.18L30.31L40.43PUBLISHED SEVERITY CONTRIBUTION

Risk reflects what was exposed

L1 through L4 contribute explicit published weights instead of an unexplained model judgement.

DETERMINISTIC SCORE
AGENTRISK · RUN 208L4 × 20.62+L2 × 10.11→RISK0.73privacy score27 / 100

The calculation is inspectable

Distinct findings and channel exposure resolve into the same score every time the trace is replayed.

RELEASE SIGNAL
POLICY .40v1.4v1.8v2.1

Read regressions before release

Compare runs against the project boundary and see exactly when risk moves into unsafe territory.

AgentRisk over time

Turn every run into a measurable release signal.

Risk milestones and policy dependencies

Map score thresholds, privacy gates and remediation dependencies across releases so the critical path to a safe deployment stays visible.

Predict privacy outcomes

Read AgentRisk trends, exposure volume and policy thresholds together to see when a release is approaching unsafe territory.

The mental model

Risk is exposure relative to what the agent could reach.

Counting findings alone makes a run with one leaked identifier look equivalent to a run leaking a medical record. AgentRisk weights distinct leaked values by sensitivity, then normalizes them against the audited vault. The result stays bounded, comparable and explainable.

Before

Finding counts reward noisy scanners and ignore sensitivity.

With AgentLeak

AgentRisk measures weighted disclosure density from 0 to 1.

  • L1-L4 weights reflect the sensitivity of each data type
  • Repeated occurrences of one secret do not inflate global risk
  • The closed-form score has no model variance or hidden prompt

How it works

From raw trace to a fix, in four steps.

1

Findings are collected

Every match across the 8 normalized channels comes with a severity from L1 to L4, weighted by how sensitive the value is and how exposed the channel is.

2

Severity is weighted

Higher severity findings and easier-to-exploit channels count for more in the closed-form scoring function, not an LLM's opinion.

3

The vault normalizes it

The score is scaled 0 to 1 against the sensitive values actually present in the run, so a small trace and a huge one stay comparable.

4

The same trace, the same score

No model decides the number, so a regression in CI means the agent changed behavior, never that the judge got moody.

Score a trace from the CLI

agentleak run --trace run.json --format json --output ./reports
# Risk Index 0.18 · privacy score 82 / 100
# JSON report: ./reports/run_0001.json

Read the complete implementation guide →

FAQ

Questions, answered.

Ready when you are

Test the path, not only the answer.

Create a local workspace, run a bundled scenario, then wire AgentLeak into CI or let your agent onboard itself.