Skip to main content
EuroPython logo

logger.info(f"Don't Give all your {secrets} away")

Track:
Security
Type:
Talk
Level:
intermediate
Room:
Terrace 2B
Start:
12:30 on 11 July 2024
Duration:
30 minutes

Abstract

In my seven years as a software developer, I’ve primarily worked in teams composed solely of developers. However, my recent transition to a team of security researchers has opened my eyes to a crucial aspect that often goes unnoticed: log safety in applications.

My exposure to the application security ecosystem and real-life security breach analysis has opened my eyes to recognize code security issues, including the prevalence of sensitive information, tokens, passwords, and payment details, in plaintext logs. This may lead to severe data breaches, financial losses, and all kinds of catastrophes.

This talk will dive into the fatal mistakes developers often make that can result in the disclosure of sensitive information in logs. We’ll explore the types of sensitive data in logs.

I’ll share my personal experiences as a developer on a security research team and shed light on the often-overlooked consequences of insecure logging practices. We’ll discuss practical patterns to safeguard sensitive information in Python applications, including identifying and redacting sensitive data before it reaches log files, and implementing secure logging practices.

By the end of this talk, developers will be equipped with the knowledge and tools to protect sensitive data from accidental disclosure and safeguard their applications from the perils of sensitive data exposure. Embrace the journey towards log safety and ensure your code remains secure and confidential.

Recording