Understanding Secret Leakage Risks in Code LLMs: A Tokenization Perspective

📰 ArXiv cs.AI

arXiv:2604.17814v1 Announce Type: cross Abstract: 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 \tex

Published 21 Apr 2026
Read full paper → ← Back to Reads