Perfluorinated compounds (PFCs), recognized as emerging environmental pollutants of global concern due to their persistence and bioaccumulation, have posed serious threats to human health. This underscores the critical need for developing rapid and accurate detection methods for PFCs. In this study, we proposed a novel electrochemical detection approach for perfluorooctanoic (PFO), a representative PFC, employing a WS