deepfake-detection
Guides multimodal media authentication and deepfake forensics using provenance checks, metadata review, PRNU/noise analysis, temporal consistency, semantic forensics, and evidence reporting. Use when the user asks to verify images, audio, or video, investigate synthetic media, assess fake or manipulated content, or prepare a media authenticity report.
What this skill does
# Deepfake Detection & Media Authentication
> Source: https://github.com/dirnbauer/webconsulting-skills
Comprehensive framework for detecting synthetic media, analyzing manipulation artifacts, and establishing media provenance in the post-empirical era.
> **Key Insight**: Traditional detection methods (PRNU, IGH, DQ) are like **fingerprints**—helpful, but disputable. Cryptographic provenance (C2PA) is like a **DNA match**—mathematically certain (collision probability 2⁻²⁵⁶).
## When to Use
- Verifying authenticity of images or videos before publication
- Detecting AI-generated or manipulated media (deepfakes, face swaps, synthetic voices)
- Forensic analysis of suspicious media for legal or journalistic purposes
- Implementing automated media authentication pipelines
- Establishing content provenance and chain of custody
- Countering disinformation campaigns and Advanced Persistent Manipulators (APMs)
## Related Skills
- [security-audit](../security-audit/SKILL.md) - Security assessment patterns
- [security-incident-reporting](../security-incident-reporting/SKILL.md) - Incident documentation for disinformation attacks
- [enterprise-readiness](../enterprise-readiness/SKILL.md) - Infrastructure for automated verification pipelines
- [cli-tools](../cli-tools/SKILL.md) - Auto-installation of required tools
---
## 1. What Are Deepfakes?
### Definition
**Deepfakes** are synthetic media created using deep learning techniques—primarily Generative Adversarial Networks (GANs), Diffusion Models, and Autoencoders—to generate or manipulate audiovisual content with a high degree of realism. The term combines "deep learning" and "fake."
### Types of Synthetic Media
| Type | Technology | Description |
|------|------------|-------------|
| **Face Swap** | Autoencoders, GANs | Replace one person's face with another in video |
| **Face Reenactment** | 3D Morphable Models | Animate a face with another person's expressions |
| **Voice Clone** | Text-to-Speech, Vocoder | Generate speech in someone's voice from text [[20]](#references) |
| **Lip Sync** | Audio-to-Video | Make someone appear to say different words |
| **Full Body Puppetry** | Pose Estimation | Control a person's body movements |
| **Fully Synthetic** | Diffusion, GANs | Generate non-existent people, scenes, events |
### Emerging Capabilities (2025-2026)
| Type | Advancement | Implication |
|------|-------------|-------------|
| **Face Swap** | One-shot swapping (single reference image), GHOST 2.0 [[24]](#references), DynamicFace [[25]](#references) | Minimal source material needed |
| **Face Reenactment** | Audio-driven animation, Neural Head Reenactment | Fully synthetic video calls |
| **Voice Clone** | Zero-shot cloning (no training on target), Emotional Voice Synthesis | Clone any voice instantly with emotion |
| **Lip Sync** | High-fidelity with Diffusion Models, Multilingual sync | Automatic dubbing across languages |
| **Full Body Puppetry** | 3D-aware motion transfer, Neural Body Avatars | Photorealistic real-time control |
| **Fully Synthetic** | Video Diffusion Models, Controllable Generation | Precise control over age, expression, gaze |
### The Entertaining Side
Deepfakes have legitimate and creative applications:
| Use Case | Example | Value |
|----------|---------|-------|
| **Entertainment** | De-aging actors in films, posthumous performances | Artistic expression |
| **Satire & Parody** | Political satire, comedy sketches | Free speech, humor |
| **Education** | Historical figures "speaking" in documentaries | Engagement, learning |
| **Accessibility** | Real-time sign language avatars | Inclusion |
| **Gaming & VR** | Personalized avatars, NPC faces | Immersion |
| **Art & Expression** | Digital art, creative projects | Innovation |
> **Example**: The "This Person Does Not Exist" website showcases GAN-generated faces that fascinate users with the uncanny realism of non-existent people.
### The Dangerous Side
The same technology enables serious harms:
| Threat | Description | Impact |
|--------|-------------|--------|
| **Non-Consensual Imagery** | Synthetic intimate content without consent | Psychological harm, harassment, reputation destruction |
| **Political Manipulation** | Fabricated speeches, fake scandals | Election interference, democratic erosion |
| **Financial Fraud** | CEO voice clones for wire transfer scams | Millions in losses per incident |
| **Evidence Fabrication** | Fake alibis, planted evidence | Obstruction of justice |
| **Liar's Dividend** | Dismissing real evidence as "deepfake" | Accountability evasion |
| **Identity Theft** | Bypassing facial recognition, KYC | Account takeover, fraud |
| **Disinformation Warfare** | State-sponsored synthetic media campaigns | Geopolitical destabilization |
> **Real Case (2024)**: WPP CEO Mark Read was targeted by a sophisticated deepfake voice clone attempting to authorize fraudulent transfers [[19]](#references). Deepfake fraud cases surged **1,740%** in North America between 2022-2023, with average losses exceeding $500,000 per incident [[18]](#references).
### Current Scale (2025-2026)
| Metric | Value | Source |
|--------|-------|--------|
| Deepfakes shared annually | **8 million** (2025) vs 500,000 (2023) | Industry estimates |
| Projected synthetic content | **90% of online content** by 2026 | Europol |
| Non-consensual intimate imagery (NCII) | **98% of all deepfakes** | EU Commission |
> **Key Insight**: The exponential growth rate means detection systems face an ever-increasing volume challenge, reinforcing the need for proactive authentication (C2PA) over reactive detection.
### The Future of Deepfakes
| Timeline | Development | Implication |
|----------|-------------|-------------|
| **Now (2026)** | Real-time video deepfakes, commoditized tools | Anyone can create convincing fakes |
| **Near Future** | Interactive deepfakes in video calls | Trust in live communication erodes |
| **Medium Term** | Undetectable synthetic media | Detection becomes probabilistic, not binary |
| **Long Term** | "Reality-as-a-Service" | Authenticated media becomes the norm, unsigned content is suspect |
### The Detection Arms Race
Recent research confirms the growing challenge of detection generalizability [[1]](#references):
```
Generation Quality: ████████████████████░░░░ 85% (2026)
Detection Accuracy: █████████████░░░░░░░░░░░ 55% (2026)
↑ Gap widening over time
```
**Key Insight**: We are transitioning from a world where "seeing is believing" to one where "cryptographic proof is believing." The future lies not in perfect detection, but in **provenance infrastructure** (C2PA v2.3) that proves authenticity at creation [[15, 16]](#references). Traditional detection methods (PRNU, IGH, DQ) are like fingerprints—helpful, but disputable. Cryptographic provenance (C2PA) is like a DNA match—mathematically certain.
---
## 2. Strategic Context: The Post-Empirical Era
### The Crisis of Empirical Evidence (2026)
The boundary between authentic and synthetic media has effectively vanished. Trillion-parameter models have commoditized the generation of photorealistic synthetic content, transforming deepfakes from isolated experiments into an industrialized disinformation capability.
### The ABC Framework of Synthetic Media Threats
| Category | Description | Examples |
|----------|-------------|----------|
| **A - Actors** | Malicious generators of synthetic content | Nation-states, APMs (Advanced Persistent Manipulators), commercial disinformation services |
| **B - Behavior** | Deceptive patterns and tactics | Astroturfing with synthetic identities, coordinated inauthentic behavior |
| **C - Content** | The synthetic media itself | Deepfake videos, voice clones, GAN-generated faces, manipulated images |
### The 4D Disinformation Tactics
| Tactic | Description | Forensic Counter |
|--------|-------------|------------------|
| **Dismiss** | Claim real evidence is fake ("Liar's DividRelated in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.