If code is available to the open, to be read or copy, then it is open source. Even if it's slop.
No one will go after random dudes doing their apps with LLMs. Even if those are ruled that doesn't apply to a copyleft license, it is still open source for providing code.
If the code is really derived from a reverse engineering (so not what is branded as clean-room), then the original developer could guess if it is its code by the logic and structure (since stuff gets renamed) and demand a take down or a DMCA.
But forks and mirrors would keep the code online.
This is, even for slop, a win for open source since people can read code for research purposes or even reuse it for other projects.
Mind how I use open source and not foss, as those are different things like you're pointing out about licensing issues.