It's a french expression which is the synonym of dirty trick, low blow.
Il/elle m'a fait un coup de pute. (French) He/she made me a dirty trick.