Skip to content
Adam Omar Saleh

Case studyAI & Cybersecurity

Forenzo — AI Forensics Assistant

Forensic evidence integrity before forensic intelligence.

Status
In development

Actively being built; parts are incomplete.

Discipline
AI & Cybersecurity
Role
Being confirmed
Year
2026

Being re-verified

The Forenzo project files were recently replaced. This case study reflects the previous review and is being re-verified against the current source — details may change.

Concept illustration

No approved product imagery yet. The artwork above is an original abstract illustration, not a screenshot.

Overview

A high-integrity forensic intelligence backend for authorized investigators: immutable content-addressed evidence, append-only chain of custody, a provenance graph, a hash-chained audit log, atomic claims, and a governed AI reasoning pipeline with adaptive clarification questions — designed to never fabricate forensic facts. Web UI not yet built.

Problem

Forensic analysis tools must be scientifically defensible — tamper-evident, traceable, uncertainty-aware and reproducible — rather than a confident 'AI detective'.

Approach

A FastAPI modular monolith built foundation-first (trust/integrity before features), with explicit DISABLED/MOCK/PRODUCTION AI modes and a server-side-only reasoning pipeline that never promotes model output to fact.

Implemented

Based on the previous review — pending re-verification against the current source.

  • Immutable evidence: streaming SHA-256 ingestion, content-addressed storage, dedup warnings, idempotency
  • Event-sourced metadata versioning with optimistic concurrency
  • Append-only chain of custody and a hash-chained audit log with a verify-chain endpoint
  • Provenance DAG with cycle prevention and STALE invalidation propagation
  • Auth: Argon2id, lockout, refresh-token rotation with reuse detection, rate limiting
  • PostgreSQL triggers enforcing append-only/immutability (verified against real PostgreSQL)
  • AI model gateway with explicit DISABLED / MOCK / PRODUCTION modes (server-side only)
  • Atomic claims with versioning, review state, evidence links, duplicate-information detection and source-lineage analysis (Phase 3)
  • Adaptive clarification engine: asks at most three non-leading, non-repeated questions only when missing information could change the analysis; answers stay UNVERIFIED claims (Phase 4)
  • Structured contradictions that are never auto-resolved (Phase 4)
  • Forensic-state-aware deterministic retrieval and a deterministic 'skeptic' pass that flags over-strong language before citation validation (Phase 4)
  • Architecture corpus of 38 artifacts across 22 documents, including a red-team review

Technical challenges

  1. 01Guaranteeing immutability and append-only invariants at the database level
  2. 02Designing an AI pipeline that refuses to fabricate (MOCK returns labeled schema-valid skeletons; PRODUCTION without credentials fails explicitly)

Not yet implemented

Planned, scaffolded or out of scope in the current build — listed so the work is not overstated.

  • Investigator web interface
  • Timeline and scene reconstruction
  • Bloodstain pattern analysis
  • Case report generation
  • Semantic (embedding) retrieval

Current state

A backend in active development, built foundation-first: evidence integrity, chain of custody and audit services come before analysis features. There is no user interface yet.

Next project

VERA — Employee Evaluation System