Herein,we synthesized an amphipathic polyethylene glycol (PEG) polymer (designatedas MPP) modified with the choline analogue 2-methacryloyloxyethylphosphorylcholine (MPC) and polyphenol moieties to customize a nanoeditor(Mg2+@MK-8931@MPP) by coordinating Mg2+ andentrapping the hydrophobic BACE1 inhibitor MK-8931, then preciselyredressing the gliomatous CTL sparsity and cytotoxic dysfunction.Upon MPC-assisted local accumulation in glioblastoma, Mg2+@MK-8931@MPP nanoeditors release MK-8931 to repolarize M2-like macrophages,facilitating CTL infiltration quantitatively. This evidence concerns the gene BACE1 and glioblastoma.