When you fill in the form to get your US tourist visa (or visa waiver - which is more common) you declare explicitly that you will not be doing paid work.
That is correct: you cannot enter the USA with the intention of working whilst traveling on a tourist visa.
nope, they are pretty savvy about this and plenty of people have been caught.