I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
I've definitely worked with agencies who do this in the past, even way back as far as ten years ago.
Some went as far as recording what you typed, so they could play it back and watch you change your mind. Watch you backspace over your original "screw you" comment and replace it with something polite. While that's fine for things like focus groups, who know they're in a test environment, for real people it should be right off the cards.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I've definitely worked with agencies who do this in the past, even way back as far as ten years ago.
Some went as far as recording what you typed, so they could play it back and watch you change your mind. Watch you backspace over your original "screw you" comment and replace it with something polite. While that's fine for things like focus groups, who know they're in a test environment, for real people it should be right off the cards.