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
How it works
From raw trace to a fix, in four steps.
1Findings 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.
2Severity is weighted
Higher severity findings and easier-to-exploit channels count for more in the closed-form scoring function, not an LLM's opinion.
3The 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.
4The 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 →