In the US, there's a good chance your employer voluntarily reports your salary to private groups, who then sell the data to other employers. So they will know if you're lying.