MOSCOW — Security forces in the Russian region of Chechnya have again cracked down on gay people, killing two and applying tactics once used against Islamist terrorists to find and arrest dozens of others, a Russian rights group said in a report issued on Monday.

Since late last year, two gay men have been killed and about 40 men and women who are either homosexual or suspected of being homosexual have been detained in a makeshift prison, according to the rights group, the Russian LGBT Network.

Though Russia decriminalized homosexuality during the breakup of the Soviet Union, the police in Chechnya have periodically detained gay people in extrajudicial arrests without repercussions from the federal authorities.

The region’s leader, Ramzan A. Kadyrov, was the beneficiary of an arrangement with the Kremlin to keep the peace in the aftermath of two wars by Chechen rebels for independence in the late 1990s and early 2000s: In exchange for his loyalty to Moscow, Mr. Kadyrov was granted wide leeway to rule as he wished at home.