demonstrated to be a promising strategy for the treatment of various cancers and infectious diseases. Herein, we discovered a series of 1H-pyrrole-3-carbonitrile derivatives as potential STING agonists. On this basis, the structure–activity relationship of this scaffold was studied by introducing various substituents on the aniline ring system. Representative compounds 7F, 7P, and 7R all displayed comparable