Concern about using closed source product

 
Hello. Suppose a closed source product's source code be released in public comments section by the author himself/herself.
Would using the source code to create another product referencing the original developer violate any rules?
 
Yashar Seyyedin:
Hello. Suppose a closed source product's source code be released in public comments section by the author himself/herself.
Would using the source code to create another product referencing the original developer violate any rules?

As is or as a link to the code  base ?

 
Lorentzos Roussos #:

As is or as a link to the code  base ?

It is a closed source tradingview indicator. The guy published the code informally in comments section. But I realized the code he shared is manipulated. He is not willing to share the true source. So my issue is somewhat resolved.