Zeroization can make things worse: how wiping secrets creates more copies

jedisct1 · x · 2026-10-06

Cryptographic engineer Frank DENIS explains why blindly adding zeroization to secrets — a favorite LLM-suggested 'low-hanging fruit' — can do more harm than good.

Key points:

Takeaway: secret wiping is a security-sensitive operation; batch-adding memset/volatile wipes without analysis can leave more secret copies behind than the original code.

Original post →

More from coding & agent

coding & agent channel →