In the presence of biomarker survivin mRNA, more stable duplexes were formed and separated from the COF NPs, enabling the recovery of the fluorescence signal and selective cancer imaging. This evidence concerns the gene BIRC5 and cancer.