And this is also why I advocate for xGPL for open source projects. FSF's GNU Public Licenses are the only open source licenses (that I am aware of) that envisioned a users "right to repair" decades ago. This is enforced by ensuring that any source code licensed and distributed under xGPL, has to remain open source. If even a part of the source code is licensed under GPL, and used in any project, you cannot close source it easily. Other permissive licenses, like MIT, BSD or Apache, for example, don't guarantee the open source nature of the product that is licensed under it as it allows anyone to also use the code and distribute it without the source code.
(This is also why we should be be vary, and quite sceptical of, Canonical's new Rust-based port of GNU CoreUtils too. Apparently, Canonical plans to replace GNU CoreUtil completely in Ubuntu with this port. The original GNU Coreutils are licensed under the GPL, but the Rust based ports are not. This means that Canonical will now have the ability to stop distributing the source code of its CoreUtils port in future Ubuntu Oses).
And you just know Canonical thinks this is feasible because they can just copyright wash it with an LLM. "Write GNU coreutils in rust" is all you need to say.