The overuse of antibiotics has led to the rise of numerous highly resistant bacteria, posing a significant threat to public health. The development of nanomaterials with distinct bactericidal properties holds promise for combating pathogens without the risk of inducing drug resistance. In this study, we utilized 2-aminoanthraquinone (AAQ), 1,2-diaminoanthraquinone (1,2-DAQ), 1,4-diaminoanthraquinone (1,4-DAQ), and 2,6-diaminoanthraquinone (2,6-DAQ) to modify molybdenum disulfide (MoS2) and obtained binary nanocomposites-AAQ/MoS2, 1,2-DAQ/MoS2, 1,4-DAQ/MoS2, and 2,6-DAQ/MoS2 via a simple ultrasonic method. We conducted a study on the photophysical properties of these materials and their light-induced antibacterial effects on Escherichia coli (E. coli). This modified molybdenum disulfide all showed an enhanced light-induced antibacterial impact than neat MoS2. Particularly, 1,2-DAQ/MoS2 exhibited the best antibacterial activity against E. coli than others. The observed outcome can be attributed to the fact that 1,2-DAQ/MoS2 exhibited a significantly enhanced ability to suppress the recombination of photoinduced charge carriers and facilitate the generation of ROS. After three cycles of antibacterial treatment, the antibacterial capability of 1,2-DAQ/MoS2 only decreases by 5%-6%. Furthermore, the impact of 1,2-DAQ/MoS2 at effective concentrations on HEK293T cells is minimal. This research indicates that the newly synthesized 1,2-DAQ/MoS2 material possesses great promise for use in biomedical and public health applications.