BenchmarksStack RankingH33 FHEH33 ZKAPIsPricingPQCTokenDocsWhite PaperBlogAboutSecurity Demo

Trust Score Engine: Real-Time Risk Assessment in 20.8µs

Authentication is binary. Trust is continuous. A simple "authenticated" or "not authenticated" answer ignores crucial context: Is this user behaving normally? Is this device recognized? Is this location expected? Is the request pattern suspicious?

H33's Trust Score Engine answers these questions in 20.8 microseconds—fast enough to run on every request without impacting latency.

20.8µs
Full Trust Score
130.5ns
Risk Evaluation
73.9ns
Anomaly Detection
3.1M/sec
Throughput

The Trust Score Pipeline

Every authentication request flows through a five-stage pipeline that evaluates multiple risk signals:

Risk Eval
130.5ns
Behavioral
271ps
Classifier
271ps
Anomaly
73.9ns
Score
20.8µs

What Gets Evaluated

The trust score incorporates multiple signal categories:

  • Device fingerprint: Hardware characteristics, browser configuration, installed fonts
  • Behavioral biometrics: Typing patterns, mouse movements, touch pressure
  • Location context: IP geolocation, timezone consistency, travel velocity
  • Session patterns: Request frequency, API usage patterns, time-of-day
  • Historical baseline: Deviation from user's established patterns

Benchmark Results

January 2026 benchmarks show each component running well under target:

Component Measured Target Status
Risk Evaluation 130.5 ns <1 ms 7,663x under
Behavioral Model 271 ps <250 µs 922,509x under
Risk Classifier 271 ps <200 µs 738,007x under
Anomaly Detector 73.9 ns <250 µs 3,383x under
Full Trust Score 20.8 µs <2 ms 96x under

3.1 Million Trust Scores Per Second

On a 64-core c8g.metal-48xl, the trust score engine can evaluate 3.1 million requests per second. That's enough capacity to protect the largest applications in real-time.

Using Trust Scores

Trust scores enable adaptive security policies:

const result = await h33.auth.fullStack({
  userId: 'user_123',
  biometric: faceData,
  mode: 'turbo'
});

// Trust score: 0.0 (suspicious) to 1.0 (trusted)
if (result.trustScore < 0.5) {
  // Require step-up authentication
  await requireMFA(user);
} else if (result.trustScore < 0.8) {
  // Log for review, allow access
  auditLog.flag(result);
} else {
  // High trust, proceed normally
}

Privacy-Preserving Design

Trust scoring runs entirely on encrypted data using FHE:

  • No raw biometrics stored: Only encrypted feature vectors
  • No behavioral logs: Patterns computed on-the-fly from encrypted signals
  • No location history: Only encrypted deviation scores
  • Zero-knowledge compatible: Prove trust level without revealing signals

Even H33 can't see the signals that produce your trust score—we only see the encrypted computation results.

Add Trust Scoring to Your Auth

Trust scores are included with every Full Stack Auth call at no extra cost.

Get Started