How can government curtail extra-judicial killings by security officials?

The killing of civilians by security agencies on thegrounds that they are suspected of being terrorists…