Repository navigation
Commit c8ae29e
tomaioo
Security: Verbose Logging of Sensitive Audio Data (#438)
## Summary
Security: Verbose Logging of Sensitive Audio Data
## Problem
**Severity**: `Medium` | **File**:
`ios/audio/AudioSinkRenderer.swift:L17`
The `AudioSinkRenderer` logs the base64 encoded audio data, its length,
and other metadata using `NSLog`. This verbose logging can expose
sensitive audio stream data in the device's console logs, which could be
intercepted by other processes or during debugging sessions.
## Solution
Remove the `NSLog` statements that print the audio data payload and its
length. If logging is necessary for debugging, use a conditional debug
flag and avoid logging raw data payloads.
## Changes
- `ios/audio/AudioSinkRenderer.swift` (modified)
Signed-off-by: tomaioo <203048277+tomaioo@users.noreply.github.com>1 parent 8a105f0 commit c8ae29e
1 file changed
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 27 | | |
33 | 28 | | |
34 | 29 | | |
| |||
0 commit comments