Nature Communications, Published online: 29 May 2026; doi:10.1038/s41467-026-72971-y Computing efficiency and data security are two critical demands in the AI era. Han et al. report a ferroelectric transistor with controllable synaptic and secure functionalities. It physically hides stored data to block read attacks. Simulations show its array effectively reduces model inversion attacks.