{"slug": "ai-now-writes-46-of-new-code-on-github-nearly-half-of-it-fails-security-tests", "title": "AI Now Writes 46% of New Code on GitHub. Nearly Half of It Fails Security Tests.", "summary": "GitHub reports that AI now writes 46% of new code on its platform, but nearly half of that AI-generated code fails security tests, raising concerns about code quality and security in software development. The statistic comes from GitHub's analysis of its platform's usage, highlighting the growing reliance on AI coding tools and the associated risks.", "body_md": "This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.\n\nYou can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.", "url": "https://wpnews.pro/news/ai-now-writes-46-of-new-code-on-github-nearly-half-of-it-fails-security-tests", "canonical_source": "https://pub.towardsai.net/ai-now-writes-46-of-new-code-on-github-nearly-half-of-it-fails-security-tests-f5a5755b4f27?source=rss----98111c9905da---4", "published_at": "2026-08-20 03:51:59+00:00", "updated_at": "2026-08-20 15:43:26.125899+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-tools", "ai-safety"], "entities": ["GitHub"], "alternates": {"html": "https://wpnews.pro/news/ai-now-writes-46-of-new-code-on-github-nearly-half-of-it-fails-security-tests", "markdown": "https://wpnews.pro/news/ai-now-writes-46-of-new-code-on-github-nearly-half-of-it-fails-security-tests.md", "text": "https://wpnews.pro/news/ai-now-writes-46-of-new-code-on-github-nearly-half-of-it-fails-security-tests.txt", "jsonld": "https://wpnews.pro/news/ai-now-writes-46-of-new-code-on-github-nearly-half-of-it-fails-security-tests.jsonld"}}