In situ polymerization on cell membranes can decrease cell mobility, which may inhibit tumor growth and invasion. However, the initiation of radical polymerization traditionally requires exogenous catalysts or free radical initiators, which might cause side effects in normal tissues. Herein, we synthesized a Y-type diacetylene-containing lipidated peptide amphiphile (TCDA-KFFFFK(GRGDS)-YIGSR, Y-DLPA) targeting integrins and laminin receptors on murine mammary carcinoma 4T1 cells, which underwent nanoparticle-to-nanofiber morphological transformation and in situ polymerization on cell membranes. Specifically, the polymerized Y-DLPA induced 4T1 cell apoptosis and disturbed the substance exchange and metabolism. In vitro assays demonstrated that the polymerized Y-DLPA nanofibers decreased the migration capacity of 4T1 cells, potentially suppressing tumor invasion and metastasis. When administered locally to 4T1 tumor-bearing mice, the Y-DLPA nanoparticles formed a biomimetic extracellular matrix that effectively suppressed tumor growth. This study provides an in situ polymerization strategy that can serve as an effective drug-free biomaterial with low side effects for antitumor therapy.