The GPL is a viral license. And that's good.
If a commercial project is licensed GPL, you are obliged to follow IN the source code and/or post them to open access. However, obliged at the first request the codes to provide.
And Yes, whoever you are prompted for the code, can easily put it somewhere in the public domain. A violation of the license it will not.