npm install && pray β€” Defending Your Stack from Code You Didnt Write | Jo Franchetti (Deno) @JavaScriptConferences
npm install && pray β€” Defending Your Stack from Code You Didnt Write | Jo Franchetti (Deno)  @JavaScriptConferences
Uploaded May 2026 | Updated September 2026, 2 weeks ago
πŸ” Your npm install can steal your secrets β€” and your AI assistant might help it do that πŸ˜“ In this talk, Jo Franchetti breaks down real supply chain attacks and shows how to run untrusted code (including AI-generated) in complete isolation β€” no Docker required πŸ”₯

What's inside:
πŸ”Ή How the Shai-Hulud worm turned 1,300+ npm packages into attack vectors automatically
πŸ”Ή The Chalk attack: a phishing email β†’ 2 billion weekly downloads compromised
πŸ”Ή Why --ignore-scripts doesn't save you at runtime
πŸ”Ή Deno's permission system stopping credential theft live on stage
πŸ”Ή Why AI-generated code is structurally less reviewed β€” and why that matters
πŸ”Ή 12,000 live API keys in AI training data + a real GitHub Copilot CVE
πŸ”Ή MicroVM sandboxes that start in 200ms β€” no Docker needed
πŸ”Ή How to pass API keys to untrusted code without the code ever seeing them

πŸ”₯ Jo Franchetti is a Software Engineer and Developer Advocate passionate about developer experience, TypeScript, and teaching good use of the web. Beyond the code, Jo mentors junior developers, actively advocates for mental health awareness in tech, and works to make the industry more diverse and inclusive.
πŸ‘‰ Connect with Jo:
πŸ”— https://x.com/thisisjofrank
πŸ”— github.com/thisisjofrank

πŸ“Œ Follow the link to watch the full version of the talk and gain access to all Node Congress recordings:
πŸ”— gitnation.com/events/node-congress-2026?utm_source=youtube&utm_medium=JoFranchetti

πŸ’¬ Don’t just watch β€” get your toughest architecture questions answered in real-time, be part of the room where Seniors and Architects shape the future, get ahead of the curve. Join us live at the next event!
πŸ”— gitnation.com/events?utm_source=youtube&utm_medium=JoFranchetti

πŸ• Timestamps:
00:00 - Intro
01:02 - Your 20% Off 🀫
01:24 - Shai-Hulud: the self-replicating npm worm that nobody could stop
02:53 - The Chalk attack: 2 billion weekly downloads hijacked with one phishing email
04:04 - Why your CI won't save you: the 3 mechanics behind every supply chain attack
05:41 - Node gives every package your full permissions. Deno doesn't.
06:57 - Post-install scripts: the attack vector hiding in plain sight
08:28 - The gap between npm install and your next CI scan is where malware lives
09:18 - Live demo: running the worm payload against Deno
10:29 - AI wrote your code. Do you actually know what it does?
11:17 - 12,000 live API keys found in AI training data
12:47 - Why this keeps happening: it's structural, not accidental
13:41 - GitHub Copilot got a CVE β€” and prompt injection just became your problem
14:33 - Model poisoning: 250 documents, 90% backdoor success rate
14:57 - The boring everyday risk: AI code that just deletes the wrong folder
15:53 - Docker vs Deno permissions: honest comparison
17:20 - Deno Sandbox: microVM isolation that starts in 200ms, no Docker needed
18:29 - V8 isolates vs microVMs: two layers explained in 90 seconds
19:46 - Live demo: generating and executing AI code in complete isolation
25:13 - The last unsolved problem: how to pass API keys to untrusted code
26:05 - Live demo: secrets proxy β€” the code sees a placeholder, never the real key
27:32 - What to actually do: 3 defenses that work right now
29:17 - Q&A: lock files, Kubernetes egress, and safely using AI in your workflow

✍️ This talk was part of Node Congress 2026:
npm install && pray | Jo Franchetti
πŸ”— nodecongress.com/?utm_source=youtube&utm_medium=JoFranchetti

πŸ“Œ We’ve hidden a secret code for 20% off your next event.
Join our upcoming conferences!

πŸ’« JSNation 2026 June 11 & 15, 2026 (Amsterdam)
πŸ”—jsnation.com/?utm_source=youtube&utm_medium=JoFranchetti

πŸ’« React Summit, June 12 & 16, 2026 (Amsterdam)
reactsummit.com/?utm_source=youtube&utm_medium=JoFranchetti

πŸ’« TechLeadConf, June 11 & 12, 2026 (Amsterdam)
techleadconf.com/?utm_source=youtube&utm_medium=JoFranchetti

and more!

πŸš€ Check out all the upcoming events from GitNation:
πŸ”— gitnation.com/events?utm_source=youtube&utm_medium=JoFranchetti

Don't forget to use INSIDER20 promo code for 20% off on tickets.


#nodejs #javascript #npm #denosecurity #supplychainattack #cybersecurity #webdev #typescript #deno #npmpackages #softwaresecurity #devops #aicoding #promptinjection #sandboxing #microvm #appsecurity #dependencysecurity #javascriptdeveloper #securecoding #aitools #githubcopilot #llmsecurity #nodecongress #backenddevelopment #softwareengineering #devsecops #malware #opensouce #codesecurity
npm install && pray β€” Defending Your Stack from Code You Didnt Write | Jo Franchetti (Deno)Whats New in Vite Explained by Its CreatorWhat Happens When AI Joins Your Dev TeamThe end of mid-level engineers... or is it? πŸ€–πŸ’Ό #shorts #aiStop Shopping for Libraries: The Battery-Included RuntimeCoding is changing. Are you? πŸ€– #shortsIs your infrastructure ready for 1,000,000,000 lines of AI code? ⚑️ #shortsRyan Carniato, Creator of SolidJS, On the Path to the Fastest Code #shortsEffective Thinking in the Age of Augmented Tooling by Lindsey Simon - at TechLead Conf 2026 #shortsBrian Whippo – A JS Devs Guide to Not Dismissing BlockchainA task for Candidats that is impossible to finish in one hour #shortsThe moment you know youre finally senior #shorts
JavaScript Conferences by GitNation |

npm install && pray β€” Defending Your Stack from Code You Didn't Write | Jo Franchetti (Deno)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER