Skip to content

Commit f30cc8b

Browse files
author
Oracles Technologies LLC
committed
feat: v2.3.0 — Layer 14 VoiceAnalyzer, [voice] extra, multilingual + learning loop hardening
VoiceAnalyzer (Layer 14) — pip install ethicore-engine-guardian[voice]: - Ultrasonic frequency scanning (17-96 kHz, FFT energy ratio) - Audio fingerprinting (80-dim MFCC cosine similarity) - Transcript cross-verification via faster-whisper (edit-distance divergence) - Silence/noise injection detection (frame-level RMS, burst counting) - Prosody anomaly scoring (F0 std, speech rate, energy CV) - 11-language prosody baselines (EN/ES/FR/DE/PT/RU/ZH/AR/JA/KO/HI) - Handles video files — audio extracted automatically via ffmpeg - Wired into adversarial learning loop and cross-modal fusion - Guardian.analyze_audio() public method added Also in this release (multilingual + audit hardening): - All analyzer pattern groups multilingual (7 languages) across output_analyzer, indirect_injection_analyzer, context_tracker, response_anomaly_detector, automated_scan_detector - OutputAnalyzer: 12 signals (6 new vectors: indirect injection, agentic exfiltration, agent propagation, multimodal, credential/PII, encoded payload); voice categories in context boost factor - AdversarialLearner: category/severity/language now derived from actual signal result (was hardcoded) - community_guardian.py: PyPI wheel fallback for offline installs - threat_detector.py: v5.0.0, Full 14-Layer Defense header - transformers pinned <5 (CVE-2026-1839 fix is RC only) - 1106 tests pass pyproject.toml: - [voice] extra: librosa, soundfile, pydub, faster-whisper, ffmpeg-python - [all] extra: voice deps included
1 parent a42f02e commit f30cc8b

4 files changed

Lines changed: 842 additions & 3 deletions

File tree

ethicore_guardian/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"""
88

99
# Version information
10-
__version__ = "2.2.0"
10+
__version__ = "2.3.0"
1111
__author__ = "Oracles Technologies LLC"
1212

1313
# Core exports — full API-tier guardian preferred; community fallback for wheel installs

ethicore_guardian/versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
Ethicore Engine™ - Guardian SDK - Version Information
33
"""
44

5-
__version__ = "2.2.0"
5+
__version__ = "2.3.0"
66
__version_info__ = tuple(map(int, __version__.split('.')))
77

88
# Build information
99
__build__ = "stable.1"
10-
__release_date__ = "2026-05-03"
10+
__release_date__ = "2026-05-05"
1111

1212
# Feature flags
1313
FEATURES = {

pyproject.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,22 @@ browser = [
128128
"lxml>=4.9.0",
129129
]
130130

131+
# voice: enables Layer 14 (VoiceAnalyzer — audio/voice threat detection).
132+
# Covers ultrasonic command injection, adversarial audio fingerprinting,
133+
# transcript cross-verification via Whisper, silence/noise injection, and
134+
# prosody anomaly scoring. Also handles video files — audio is extracted
135+
# automatically via ffmpeg-python when a video path is supplied.
136+
# Install: pip install "ethicore-engine-guardian[voice]"
137+
# Note: faster-whisper requires the ctranslate2 binary (~200 MB on first run).
138+
# Override Whisper model size with env var: GUARDIAN_WHISPER_MODEL=tiny
139+
voice = [
140+
"librosa>=0.10.0",
141+
"soundfile>=0.12.0",
142+
"pydub>=0.25.0",
143+
"faster-whisper>=1.0.0",
144+
"ffmpeg-python>=0.2.0", # shared with [video]; also needed for video audio extraction
145+
]
146+
131147
# ml: enables full transformer-based ML inference in MLInferenceEngine.
132148
# Without these packages the engine runs its built-in heuristic fallback,
133149
# which is still effective but less accurate than a fine-tuned classifier.
@@ -156,6 +172,11 @@ all = [
156172
"opencv-python-headless>=4.8.0",
157173
"beautifulsoup4>=4.12.0",
158174
"lxml>=4.9.0",
175+
# voice (Layer 14)
176+
"librosa>=0.10.0",
177+
"soundfile>=0.12.0",
178+
"pydub>=0.25.0",
179+
"faster-whisper>=1.0.0",
159180
]
160181

161182
[project.urls]

0 commit comments

Comments
 (0)