Home / Companies / Semgrep / Blog / Post Details
Content Deep Dive

Fixing leaky logs: how to find a bug and ensure it never returns

Blog post from Semgrep

Post Details
Company
Date Published
Author
Nathan Brahms
Word Count
1,749
Company Posts That Month
4
Language
English
Hacker News Points
-
Post removed?
No
Summary

The blog post advocates for empowering developers to handle security issues themselves, thereby allowing the security team to focus on broader security strategies. The author shares a case study where they and another developer identified and resolved a data leakage issue in their logs without involving the AppSec team, using Semgrep to prevent recurrence. By using SQLAlchemy's logging features, they discovered sensitive tokens were being logged, which prompted them to implement an ObfuscatedString type to prevent such occurrences in the future. To ensure this solution's longevity, they integrated Semgrep into their CI pipeline to enforce coding standards that prevent similar security issues, demonstrating how static analysis can be effectively used to uphold codebase security and avoid repetitive mistakes.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.