The good electrical conductivity of the gold nanoparticles@Ti3C2 MXenes composite and the nucleic acid amplification strategy of enzyme-free toehold-mediated DNA strand displacement reaction can be used to efficiently and specifically detect the non-small cell cancer biomarker circulating tumor DNA KRAS gene. The gene discussed is KRAS; the disease is small cell carcinoma.