AI RESEARCH

Understanding Secret Leakage Risks in Code LLMs: A Tokenization Perspective

arXiv CS.AI

ArXi:2604.17814v1 Announce Type: cross Code secrets are sensitive assets for software developers, and their leakage poses significant cybersecurity risks. While the rapid development of AI code assistants powered by Code Large Language Models (CLLMs), CLLMs are shown to inadvertently leak such secrets due to a notorious memorization phenomenon. This study first reveals that Byte-Pair Encoding (BPE) tokenization leads to unexpected behavior of secret memorization, which we term as \textit{gibberish bias.