detecting-deepfake-audio-in-vishing-attacks

Detects AI-generated deepfake audio in vishing calls using spectral feature extraction and machine learning classification.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill detecting-deepfake-audio-in-vishing-attacks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: detecting-deepfake-audio-in-vishing-attacks
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/social-engineering-defense/detecting-deepfake-audio-in-vishing-attacks
Command: npx skills add https://github.com/xalgord/xalgorix --skill detecting-deepfake-audio-in-vishing-attacks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires librosa, numpy, scikit-learn, scipy, matplotlib.

What problem does it solve?

Voice phishing attacks increasingly use AI-cloned voices to impersonate executives and authorize fraudulent transactions, and human listeners cannot reliably distinguish synthetic speech from genuine audio.

Core Features & Use Cases

  • Spectral Feature Extraction: Extracts MFCCs, spectral centroid, spectral contrast, and zero-crossing rate with librosa to identify vocoder artifacts.
  • Ensemble Classification: Classifies audio samples with Random Forest and Gradient Boosting models, producing confidence scores for deepfake verdicts.
  • Forensic Reporting: Generates detailed analysis reports with spectrogram evidence, pitch jitter analysis, and anomaly documentation for legal and compliance use.
  • Use Case: A CFO receives a call that sounds like the CEO requesting a $2.3M wire transfer. Security extracts the call recording, runs spectral analysis against known genuine voice samples, and produces a forensic report showing 94% confidence the audio is AI-generated.

Quick Start

Analyze the attached suspect_call.wav recording to determine whether it contains AI-generated deepfake audio and produce a forensic report.

Frequently Asked Questions about detecting-deepfake-audio-in-vishing-attacks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect deepfake audio in a phone call recording?

Load the audio with librosa at 16kHz mono, extract MFCCs and spectral features, then classify with a Random Forest and Gradient Boosting ensemble. Deepfake audio typically shows reduced spectral contrast in the 4-8 kHz range and abnormally low pitch jitter.

What audio features indicate AI-generated or cloned speech?

Key indicators include reduced spectral contrast above 4 kHz, unnaturally stable pitch with low jitter and shimmer, energy cutoffs at the vocoder ceiling around 7-8 kHz, and banding patterns in mel spectrograms at fixed intervals.

Does deepfake audio detection work on phone call recordings?

It works but with reduced accuracy because phone codecs like G.711 and AMR compress high frequencies where vocoder artifacts appear. Analyze at the highest available fidelity and account for codec effects when interpreting confidence scores.

What Python libraries are needed for deepfake voice detection?

The workflow requires librosa for feature extraction, scikit-learn for classification, numpy and scipy for numerical processing, and FFmpeg for audio format conversion. Optional tools include Resemblyzer for speaker embeddings and Praat for phonetic analysis.

Why does deepfake detection fail on short or high-quality audio clips?

Clips under 3 seconds produce unreliable feature statistics, and fine-tuned models like VALL-E trained on 30+ minutes of target audio can evade basic MFCC analysis. Confirm verdicts with out-of-band verification such as calling back on a known number.