agent provocateur
agent pro·vo·ca·teur
/ˈɑːˌʒɑːnproʊˌvɑːkəˈtɚ/ noun , pl agents pro·vo·ca·teurs also agent provocateurs /ˈɑːˌʒɑːnproʊˌvɑːkəˈtɚ/ [ count ]
: a person employed to encourage people to break the law so that they can be arrested
The government used agents provocateurs to try to undermine the opposition party.