---
title: "Trusting AI with Code: How Secure is AI-written code? - Mackenzie Jackson - NDC Security 2026"
url: https://daily.dev/posts/trusting-ai-with-code-how-secure-is-ai-written-code---mackenzie-jackson---ndc-security-2026-kuwhlrao6
source_url: https://www.youtube.com/watch?v=JIRfWAiTNEQ
type: video:youtube
source: "NDC Conferences"
published: 2026-05-11T16:29:40.842Z
updated: 2026-05-11T16:30:07.340Z
tags: ["security", "ai-coding"]
reading_time: 11
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Trusting AI with Code: How Secure is AI-written code? - Mackenzie Jackson - NDC Security 2026

**[NDC Conferences](https://daily.dev/sources/ndc)** · 11 min read · 0 upvotes · 0 comments

## Summary

A conference lightning talk examining the security of AI-generated code, based on experiments testing 100 prompts across 5 languages. Key findings: over 40% of ChatGPT-generated code contained vulnerabilities, though adding 'make it secure' to prompts significantly improved results. A major concern is supply chain risk — AI models use outdated training data (dependencies up to 8 months old), hallucinate non-existent packages, and the traditional CVE disclosure timeline of ~3 months is dangerously slow. A real-world example shows malware from a compromised npm account (2.6B weekly downloads) reached 10% of cloud accounts within 4.5 hours. The talk also covers how AI can be used defensively to detect non-deterministic vulnerabilities like IDOR and business logic flaws, and introduces an open-source scanning tool called Intel that uses AI-assisted static analysis.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=JIRfWAiTNEQ>

## Similar posts on daily.dev

- [AI-Generated Code in Production: Can It Really Be Trusted?](https://daily.dev/posts/ai-generated-code-in-production-can-it-really-be-trusted--uszaxywbi) · Medium · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#ai-coding](https://daily.dev/tags/ai-coding)

[View this post on daily.dev](https://daily.dev/posts/trusting-ai-with-code-how-secure-is-ai-written-code---mackenzie-jackson---ndc-security-2026-kuwhlrao6)
