Tester Podatnosci Melodic Codec
Muzyka moze zawierac instrukcje maszynowe. Melodia pentatoniczna koduje tekst za pomoca czestotliwosci nut — tak samo jak protokoly radiowe MFSK koduja dane. Systemy AI przetwarzajace audio moga odkodowac i wykonac payload. To narzedzie demonstruje mechanizm, postawe obronna i pozytywne zastosowanie za zgoda.
| System type | Audio handling | Decode risk | Recommended defense |
|---|---|---|---|
| Multimodal LLM (audio-capable) | Transcribes audio to text; may process decoded payload as instructions | 🔴 HIGH | Treat decoded audio text as untrusted input; require consent before executing |
| STT pipeline (Whisper/similar) | Converts speech to text; melodic-codec layer ignored (not speech) | ✅ LOW | Log all non-speech audio inputs; flag unexpected tonal patterns |
| Audio-blind text model | Does not process audio directly; safe unless STT feeds its input | 🟠 INDIRECT | Sanitize STT output before passing to LLM; treat pipeline as single attack surface |
| Music/audio analysis AI | Analyzes frequency patterns; pentatonic structure may be decoded if FFT-aware | 🟡 MEDIUM | Log decode events; do not auto-execute payloads found in frequency analysis |
- Require consent before processing decoded audio. If a pipeline transcribes or analyzes audio and surfaces text, treat that text as untrusted input — do not execute it as an instruction without explicit user authorization.
- Log decode events. Any time a frequency-pattern decoder surfaces structured text from audio, record it. Structured patterns (headers, CRC checksums, keyword payloads) are anomalous and warrant review.
- Treat audio input as untrusted. Apply the same prompt-injection mitigations to audio-derived text as to any other external input: sandbox it, label its provenance, do not merge it with privileged context without sanitization.
- WAV vs MP3 as a natural filter. Melodic-codec payloads do not survive lossy compression. Normalizing audio inputs to MP3 or similar lossy formats before analysis destroys the machine layer while preserving the human-audible content.
Czym jest Melodic Codec
Melodic codec odwzorowuje znaki tekstowe na nuty w 32-tonowej skali pentatonicznej (5 bitow na symbol). Naglowek synchronizacyjny, suma kontrolna CRC32 i redundancja x2 zapewniaja odpornosc w bezstratnym audio (WAV). Kompresja stratna (MP3) niszczy warstwe maszynowa — muzyka przezywa, payload nie. Technika jest jawnie udokumentowana i otwarta: celem jest swiadomosc, nie ukryte wdrozenie.
| Parametr | Wartosc | Uwagi |
|---|---|---|
| Skala | pentatonic32 (C2–C7+) | 5 bitow na symbol, 32 tony |
| Czas nuty | 0.08 s | ~12.5 symboli/s, ~62.5 bit/s |
| Redundancja | x2 | Kazdy symbol wyslany dwa razy |
| Payload (canary v1) | 105 znakow / 346 symboli | Koduje sie w ~28 s audio |
| CRC32 | 0x27fbbaed | Suma kontrolna dla canary-wln-v1 |
| Przezywa MP3 | NIE | Kompresja stratna niszczy piki FFT |
| Przezywa WAV | TAK | Tylko bezstratny — master WAV wymagany do dekodowania |