KABUL, Afghanistan — Eight Afghan paramilitary soldiers were killed during an assault on a Taliban hide-out in eastern Afghanistan, Afghan officials said Wednesday. It was the latest of several clashes to take a heavy toll on the security forces as American combat forces leave the country.

The deaths, caused by a car bomb, occurred during a raid by the Khost Protection Force, a C.I.A.-trained paramilitary unit that has carried out operations along the border with Pakistan for more than a decade.

Fighters with the force, who operate in Khost Province, swooped on a remote compound believed to house suicide bombers, killing three people including one woman, the Khost governor’s office said in a statement. But once they had secured the compound, a car bomb exploded, killing eight of the militiamen and wounding five.

The governor’s spokesman, Mohammad Mubarez Zadran, confirmed in a phone interview that the troops belonged to the Khost militia force, established by the C.I.A. and American Special Operations forces after 2001, and which The Associated Press reported in May had up to 3,500 fighters.