Brute-Force Jailbreaks and Codon-Aware Watermarking for Open-weight DNA Foundation Models
Abstract
Open-weight DNA foundation models expand access to biological sequence de- sign, but also raise concerns about misuse. Understanding these concerns requires assessing how readily concerning outputs can be obtained and what safeguards can accompany their generation. We show that repeated sampling, combined with an existing retrieval framework, elicits pathogen-associated local sequence matches across three Evo2 model sizes without specialized guided search. On JailbreakDNABench, Evo2-7B meets the sequence-matching criterion for an av- erage of 48.7% of the 23 targets across five trials. These findings highlight the need for safety evaluations that account for accessible generation procedures, al- though the biological harmfulness of the outputs remains untested. As a comple- mentary safeguard for tracing generated sequences, we introduce WobbleGuard, a training-free watermarking approach that combines a nucleotide-level embed- der with a codon-aware detector. Its central insight is to account for synonymous codons when detecting the watermark, helping preserve evidence of origin after edits that leave the encoded amino-acid sequence unchanged. We evaluate detec- tion on watermarked Evo2 outputs and robustness through controlled simulations. Under simulated full synonymous substitution, WobbleGuard retains 95.5% detec- tion, compared with 0.5% for the nucleotide-level baseline. Together, our results support broader safety evaluations and provide a practical approach to tracing out- puts from deployments that enable watermarking.