The abundant defects on the perovskite surface greatly impact the efficiency improvement and long-term stability of carbon-based perovskite solar cells. Molecules with electron-donating or electron-withdrawing functional groups have been cited for passivating various defects. However, few studies have investigated the potential adverse effects arising from the synergistic interactions among functional groups. Herein, we investigate the correlation between functional group configurations and passivation strength as well as the potential adverse impacts of strong electrostatic structures by methodically designing three distinct interface molecules functionalized with different ending groups, which both belong to biguanide derivatives, including 1-(3,4-dichlorophenyl) biguanide hydrochloride (DBGCl), metformin hydrochloride (MFCl), and biguanide hydrochloride (BGCl). The results indicate that DBGCl establishes comparatively mild active sites, not only passivates defects but also aids in forming a surface with a uniform potential. Conversely, MFCl exerts a more pronounced adverse effect on the perovskite surface, which is attributable to the electronic state perturbations induced by its functional groups. Due to the lack of hydrophobic groups, devices treated with BGCl demonstrate insufficient moisture resistance. Devices passivated with DBGCl demonstrate superior average efficiency, showcasing a 12% enhancement relative to the pristine. Furthermore, DBGCl-treated devices exhibit enhanced stability in three different environments, respectively, achieving the highest PCE retention rates under nitrogen conditions (25 °C), room-temperature air conditions (25 °C, RH = 40 ± 2%), and high-temperature air conditions (65 °C, RH = 40 ± 2%).