Digital evidence (such as documents, audio recordings, images, or video) that has been either entirely created by artificial intelligence or materially altered by it, which is presented or challenged in a legal proceeding.
Digital proof—like a video, audio recording, or document—that was either faked by AI or created by AI, which is being used in a lawsuit or criminal trial. It forces courts to figure out what is real and what is a highly realistic fake.
AI-Generated Evidence presents a dual challenge in modern litigation:
A forged painting. In the past, forgers used physical paint and canvas, and experts used chemical analysis to spot fakes. Today, AI can forge a video or audio recording with perfect realism, requiring new “digital scientific” tests to prove it’s fake.
# Conceptual: Detecting AI-generated audio (Deepfake Voice) using frequency analysis
# AI voice clones often struggle to perfectly replicate the high-frequency micro-tremors of human vocal cords.
import numpy as np
import librosa
def detect_synthetic_voice(audio_file_path):
"""
Analyzes the high-frequency spectrum of an audio file to detect AI cloning artifacts.
"""
# Load audio file
y, sr = librosa.load(audio_file_path, sr=None)
# Compute the Short-Time Fourier Transform (STFT)
stft = np.abs(librosa.stft(y))
# Analyze frequencies above 8000 Hz (where AI models often introduce noise or smoothing)
high_freq_mask = librosa.fft_frequencies(sr=sr) > 8000
high_freq_energy = np.mean(stft[high_freq_mask, :], axis=1)
# Calculate the spectral flatness (AI audio often sounds "too perfect" or unnaturally flat)
spectral_flatness = librosa.feature.spectral_flatness(S=stft[high_freq_mask, :])
avg_flatness = np.mean(spectral_flatness)
if avg_flatness > 0.85: # Threshold determined by forensic baseline
return "WARNING: High probability of AI-generated/synthesized audio."
else:
return "Audio spectrum appears consistent with human vocal characteristics."
print(detect_synthetic_voice("suspect_recording.wav"))