Is it that trade secrets are protected or that corporate espionage is prohibited?
Both
https://en.wikipedia.org/wiki/Uniform_Trade_Secrets_Act
They’re protected in certain ways. Notably though, they are NOT protected from reverse engineering.