Note that Debian is mostly an aggregation of packages. There's nothing wrong with Debian importing a package that was written by AI, if it's something that people want to install. The questionable copyright of that package does not taint Debian as a whole. Debian allows public domain packages, so it wouldn't even be a DFSG violation.
There's also nothing wrong with an AI-written install script (if it's correct) because those are likely too trivial to copyright anyway.
What are your specific worries? Mine is brain rot.