Commit f30cc8b
Oracles Technologies LLC
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 included1 parent a42f02e commit f30cc8b
4 files changed
Lines changed: 842 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
131 | 147 | | |
132 | 148 | | |
133 | 149 | | |
| |||
156 | 172 | | |
157 | 173 | | |
158 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
159 | 180 | | |
160 | 181 | | |
161 | 182 | | |
| |||
0 commit comments