If in the US, it is illegal for them to have that in the employment contract and they could be sued for that. I'm not sure how it works if it's not operating in the US, but if it's a US company, might still apply. My company abides by all US laws because they're headquartered in US, but have offices worldwide.
According to this law: https://www.nlrb.gov/resources/national-labor-relations-act employees can talk about things that matter to them, salary being one of them. And the National Labor Relations Board (NLRB) includes pay secrecy language in contracts as illegal, and even if you sign an NDA, it is still your right to talk about your salary.
The consequences for violation aren't usually very serious, so companies aren't too worried about violating the law, unfortunately. They usually have to provide back pay to the employee and/or offer the employee their job back (if they were fired). Obama signed an executive order that increased penalties for companies contracting with the government: they can lose their contract.
This law doesn't include contractors, ag workers, employees of federal, state, or local gvmt, or those employed by interstate rail and airline companies.
It does cover you if you aren't in a union.
Violations should be reported to the NLRB and they'll investigate it.
So the American company operates over here low cost center and exploits all legal means for this location to remain low cost... but hey! enjoy your "salary disclosure freedom".
What about Stack Overflow's yearly survey? That's got a lot of people and has data for salaries by job and geography. It won't tell you where they're working, though. https://insights.stackoverflow.com/survey/2017#salary
ETA: 5yrs exp, Dev III in logistics; $95K/year, ~$6k in stock, insurance fully paid by company.
According to this law: https://www.nlrb.gov/resources/national-labor-relations-act employees can talk about things that matter to them, salary being one of them. And the National Labor Relations Board (NLRB) includes pay secrecy language in contracts as illegal, and even if you sign an NDA, it is still your right to talk about your salary.
The consequences for violation aren't usually very serious, so companies aren't too worried about violating the law, unfortunately. They usually have to provide back pay to the employee and/or offer the employee their job back (if they were fired). Obama signed an executive order that increased penalties for companies contracting with the government: they can lose their contract.
This law doesn't include contractors, ag workers, employees of federal, state, or local gvmt, or those employed by interstate rail and airline companies.
It does cover you if you aren't in a union.
Violations should be reported to the NLRB and they'll investigate it.
Source: https://www.npr.org/2014/04/13/301989789/pay-secrecy-policie... and https://www.govdocs.com/can-employees-discuss-pay-salaries/