AI-GENERATED CODE: A SUPPLY CHAIN NIGHTMARE IN THE MAKING
AI-generated code might sound like a tech dream, but it could lead to a nightmare for software security. A recent study revealed 19.7% of dependencies from AI-generated code were completely fabricated. This exposes systems to supply-chain attacks like dependency confusion. Open-source models hallucinate more often than commercial ones, with JavaScript errors more common than Python. This is a serious wake-up call for developers relying on AI to code.