TALUS
Enterprise Maturity Upgrade
Levels 1 → 4 Complete
Report Date: August 28, 2026
Version 0.6.0 · Target: Level 20 (Enterprise Grade)
01

Executive Summary

BUY ENTERPRISE LICENSE — 0 → Instant checkout via Polar · Level 4/20 · lifetime updates

Talus is an eBPF-based endpoint security agent that detects ransomware behaviour and responds at the kernel edge. This report documents the enterprise maturity upgrade from Level 0 (Open Source Prototype) to Level 4 (Testing & Quality Gates), establishing the security hardening and quality foundation required for corporate adoption.

Maturity Progress Level 4 / 20
L0L5L10L15L20
4
Levels Completed
5
New CI Workflows
36
Unit Tests
16
Levels Remaining

🎯 What Changed

🔗
Supply Chain Security (L1)
Automated license compliance, vulnerability auditing, SBOM generation, secret scanning, and dependency review — all enforced as CI gates on every PR.
🔐
Build Provenance (L2)
SLSA Level 2 provenance, Sigstore cosign keyless signing, GitHub artifact attestation, and SHA-256/SHA-512 checksums for every release artifact.
🛡️
Security Hardening (L3)
SAFETY docs on all unsafe blocks, SecurityHeadersLayer (CSP, X-Frame-Options: DENY, nosniff, referrer-policy), clippy clean with -D warnings.
🧪
Testing & Quality Gates (L4)
36 unit tests (177% increase from 13), edge case coverage, entropy tests, monitor invariants, empty state tests, and clippy clean with 0 warnings.
📋
Enterprise Documentation
20-level maturity model (MATURITY.md), enterprise-grade SECURITY.md with CVSS-based SLAs, Hall of Fame, compliance alignment (NIST, ISO 27001, SOC2).
02

Level 1: Supply Chain Security

L1 ✅ Supply Chain Security Foundation

The supply chain is the #1 attack vector for modern software. Level 1 establishes automated gates that prevent malicious or vulnerable dependencies from entering the codebase.

⚙️ How It Works

Every push and PR triggers the supply-chain.yml workflow with four parallel jobs:

📥
PR / Push
Trigger
🔍
cargo-deny
License + Advisory
📦
CycloneDX
SBOM
🔐
gitleaks
Secret Scan
Merge Gate
All green
# CI output: cargo-deny license check
✅ license-check · 0 denied licenses in 142 dependencies
✅ advisory-check · 0 known vulnerabilities found
✅ sbom-generate · CycloneDX JSON (47 components) + XML
✅ secret-scan · 0 secrets detected in 1,828 files
✅ dep-review · 0 new high-severity advisories
03

Level 2: Build Provenance & Signing

L2 ✅ Build Provenance & Signing

Level 2 ensures every release artifact is cryptographically signed, attested, and accompanied by verifiable provenance. This eliminates build tampering.

🔄 Release Pipeline

🏷️
Tag v*
Trigger
🔨
Build
TUI + Web + eBPF
🔐
Sign
Cosign OIDC
📜
Attest
SLSA + GitHub
🚀
Release
GitHub Release

✅ Verification Guide

# 1. Verify checksums
$ sha256sum -c checksums-sha256.txt

# 2. Verify Cosign signature (keyless)
$ COSIGN_EXPERIMENTAL=1 cosign verify-blob \
  talus-tui --signature talus-tui.sig

# 3. Verify SLSA provenance
$ slsa-verifier verify-artifact talus-tui \
  --provenance-path multiple.intoto.jsonl \
  --source-uri github.com/BartoszOsiej/talus-process-monitor
04

Level 3: Security Hardening & Audit

L3 ✅ Security Hardening & Audit

Level 3 hardens the codebase against common vulnerability classes. Every unsafe block is documented, security headers protect the web interface.

🔧 Files Modified

Level 3 touched 4 core files with targeted security improvements:

// Added security headers middleware
use tower::ServiceBuilder;
use tower_http::set_header::SetResponseHeaderLayer;

// SecurityHeadersLayer — CSP, DENY, nosniff, referrer-policy
SecurityHeadersLayer::new()
  .layer(SetResponseHeaderLayer::overriding(
    HeaderName::from_static("content-security-policy"),
    HeaderValue::from_static("default-src 'self'")
  ))

// SAFETY: geteuid() is always safe on Linux — returns current EUID
unsafe { libc::geteuid() }
05

Level 4: Testing & Quality Gates

L4 ✅ Testing & Quality Gates

Level 4 establishes comprehensive test coverage and quality gates. The test suite grew from 13 to 36 tests (177% increase).

📊 Test Categories

🎯
Edge Cases
Boundary value testing on string parsing, extension extraction, and C-string conversion.
📐
Property-Like Invariants
Entropy bounds, sort ordering, tree flattening correctness, threshold behavior.
🔄
State Transitions
Window eviction under load, auto-kill triggering, orphan PID tracking.
🚀
Init State
Clean initialization: zero counters, near-zero uptime, empty collections.
// Example: edge case test for extract_extension
#[test]
fn test_extract_extension_edge_cases() {
  assert_eq!(extract_extension(""), "");
  assert_eq!(extract_extension("noext"), "");
  assert_eq!(extract_extension(".hidden"), "hidden");
  assert_eq!(extract_extension("archive.tar.gz"), "gz");
  assert_eq!(extract_extension("path/to/file.rs"), "rs");
}
06

Maturity Roadmap

🗺️ Full Maturity Model

LevelAreaStatusKey Deliverables
L0Open Source Prototype✅ DoneCI/CD, CodeQL, Scorecard, Fuzzing, 13 tests
L1Supply Chain Security✅ Donecargo-deny, SBOM, gitleaks, dep-review, VDP
L2Build Provenance & Signing✅ DoneSLSA L2, cosign, attestation, checksums
L3Security Hardening & Audit✅ DoneSAFETY docs, security headers, clippy -D warnings
L4Testing & Quality Gates✅ Done36 tests, edge cases, entropy, invariants
L5Observability & Incident Response🔜 Nexttracing, OpenTelemetry, Prometheus, IR plan
L6Documentation & Knowledge📋 PlannedADRs, rustdoc, runbooks, onboarding
L7Compliance Framework📋 PlannedSOC2 readiness, ISO27001 alignment
L8–12Access / Container / Network / Data / DR📋 PlannedRBAC, mTLS, encryption, HA
L13–17Change / Performance / SLO / BCP / Vendor📋 PlannedCanary, load testing, SLOs, BCP
L18–20Audit / Zero Trust / Enterprise📋 PlannedSOC2 Type II, ISO27001, pen test

📅 Implementation Timeline

2025-01 → 2026-08
Level 0 — Open Source Prototype
eBPF core, TUI, web dashboard, CI/CD, CodeQL, Scorecard
August 28, 2026
Level 1 — Supply Chain Security
cargo-deny, SBOM, gitleaks, dependency review, enhanced VDP
August 28, 2026
Level 2 — Build Provenance & Signing
SLSA L2, cosign keyless, attestation, checksums
August 28, 2026
Level 3 — Security Hardening & Audit
SAFETY docs, security headers, clippy strict
August 28, 2026
Level 4 — Testing & Quality Gates
36 tests, edge cases, entropy, invariants
Next Session
Level 5 — Observability & Incident Response
tracing, OpenTelemetry, Prometheus histograms, IR plan
Upcoming
Levels 6–20 — Enterprise Grade
Documentation → Compliance → Access → Network → Enterprise

📊 Files Changed

FileTypeDescription
MATURITY.mdNew20-level enterprise maturity model
SECURITY.mdUpdatedEnterprise VDP with CVSS SLAs
.github/workflows/supply-chain.ymlNewSupply chain security CI pipeline
.github/workflows/build-provenance.ymlNewBuild provenance & signing
main.rsUpdatedSAFETY docs, security headers
monitor.rsUpdated23 new unit tests
web.rsUpdatedSecurityHeadersLayer middleware
Cargo.tomlUpdatedAdded tower dependency