---
id: 1102
title: "Fixing Debug Log Leakage with Safe Coding"
source_domain: bughunters.google.com
source_url: "https://bughunters.google.com/blog/fixing-debug-log-leakage-with-safe-coding"
published_at: "2024-01-15T00:00:00Z"
tags: ["secure-coding", "data-leakage", "google", "logging", "api-design", "sensitive-data"]
phying_url: "https://phying.com/item/1102"
lang: en
---

# Fixing Debug Log Leakage with Safe Coding

## Summary

Google explains how unaware logging of complex data structures can leak secrets such as cryptographic keys, and how safe-by-default APIs prevent debug log leakage by design.

## Intelligence Metadata

- **Sources:** bughunters.google.com
- **Published:** 2024-01-15T00:00:00Z
- **Original:** https://bughunters.google.com/blog/fixing-debug-log-leakage-with-safe-coding
- **Phying News:** https://phying.com/item/1102
