Precise manipulation of cancer cell death by harnessing reactive oxygen species (ROS) is a promising strategy to defeat malignant tumors. However, it is quite difficult to produce active ROS with spatial precision and regulate their biological outcomes. We succeed here in selectively generating short-lived and lipid-reactive hydroxyl radicals (•OH) adjacent to cancer cell membranes, successively eliciting lipid peroxidation and ferroptosis. DiFc-K-pY, a phosphorylated self-assembling precursor that consists of two branched Fc moieties and interacts specifically with epidermal growth factor receptor, can in situ produce membrane-bound nanofibers and enrich ferrocene moieties on cancer cell membranes in response to alkaline phosphatase. Within the acidic tumor microenvironment, DiFc-K-pY nanofibers efficiently convert tumoral H2O2 to active •OH around the target cell membranes via Fenton-like reactions, leading to lipid peroxidation and ferroptosis with good cellular selectivity. Our strategy successfully prevents tumor progression with acceptable biocompatibility through intratumoral administration.