How is it stealing if it’s publicly hosted on a web server?
First of, there is also in legal a huge difference between publishing your secret in an ad and putting some .git folder in /.
Second it would probably still be illegal to reproduce coca-cola original receipe. There is probably some (c) or similiar thing protecting it.