<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-part-of-your-ai-coding-workflow-nobody-has-figured-out-how-to-secure-yet-ltyfdodqi" -->

---
title: The part of your AI coding workflow nobody has figured...
description: AI coding agents now install packages autonomously, removing the human decision point that once served as an informal security check. Studies show nearly 1 in...
canonical: https://daily.dev/posts/the-part-of-your-ai-coding-workflow-nobody-has-figured-out-how-to-secure-yet-ltyfdodqi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The part of your AI coding workflow nobody has figured out how to secure yet | daily.dev
og:description: AI coding agents now install packages autonomously, removing the human decision point that once served as an informal security check. Studies show nearly 1 in...
og:url: https://daily.dev/posts/the-part-of-your-ai-coding-workflow-nobody-has-figured-out-how-to-secure-yet-ltyfdodqi
og:image: https://api.daily.dev/og/posts/ltYFdODQI.png
og:image:alt: The part of your AI coding workflow nobody has figured out how to secure yet
og:image:width: 1200
og:image:height: 630
og:locale: 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.

# The part of your AI coding workflow nobody has figured out how to secure yet

**[Dev World](https://daily.dev/sources/dev_world)** · [@julia7](https://daily.dev/julia7) · 1 min read · 2 upvotes · 0 comments

## Summary

AI coding agents now install packages autonomously, removing the human decision point that once served as an informal security check. Studies show nearly 1 in 5 AI-recommended packages don't exist, and attackers are pre-registering these predictable hallucinated names with malicious payloads. Existing dependency-scanning tools were designed around human-initiated installs and lack visibility into what agents pull in mid-task, creating a security gap that current tooling doesn't address. A linked post from Xygeni explores npm package security implications when AI agents run the install.

## Content

𝐀𝐈 𝐜𝐨𝐝𝐢𝐧𝐠 𝐚𝐬𝐬𝐢𝐬𝐭𝐚𝐧𝐭𝐬 𝐦𝐚𝐝𝐞 𝐝𝐞𝐯𝐞𝐥𝐨𝐩𝐦𝐞𝐧𝐭 𝐟𝐚𝐬𝐭𝐞𝐫. 𝐓𝐡𝐞𝐲 𝐚𝐥𝐬𝐨 𝐬𝐢𝐥𝐞𝐧𝐭𝐥𝐲 𝐜𝐡𝐚𝐧𝐠𝐞𝐝 𝐰𝐡𝐨 𝐦𝐚𝐤𝐞𝐬 𝐝𝐞𝐜𝐢𝐬𝐢𝐨𝐧𝐬 𝐢𝐧 𝐲𝐨𝐮𝐫 𝐰𝐨𝐫𝐤𝐟𝐥𝐨𝐰.

Installing a dependency used to require a human decision. Someone identified the need, chose the package, typed the command. That moment of friction was incidentally doing a lot of security work. AI agents skipped it entirely.

A couple of things that follow from that worth knowing:

When AI models recommend packages, nearly 1 in 5 don't exist. The hallucinated names repeat predictably across prompts and models. That predictability is being exploited — the names get registered with malicious payloads before your agent asks for them.

The tools most developers use to catch dependency issues were built for a world where a human typed the install command. They have no visibility into what an agent pulled in mid-task. That's not a configuration problem. It's a category gap.

Short read, practically useful if you're building with any agentic tooling right now: [𝐧𝐩𝐦 𝐏𝐚𝐜𝐤𝐚𝐠𝐞 𝐒𝐞𝐜𝐮𝐫𝐢𝐭𝐲: 𝐖𝐡𝐚𝐭 𝐂𝐡𝐚𝐧𝐠𝐞𝐬 𝐖𝐡𝐞𝐧 𝐘𝐨𝐮𝐫 𝐀𝐈 𝐀𝐠𝐞𝐧𝐭 𝐑𝐮𝐧𝐬 𝐭𝐡𝐞 𝐈𝐧𝐬𝐭𝐚𝐥𝐥.](https://xygeni.io/blog/npm-package-security-for-the-age-of-ai-agents/?utm_source=dailydev&utm_medium=post&utm_campaign=devworld-squad)

𝐁𝐮𝐢𝐥𝐝 𝐟𝐚𝐬𝐭. 𝐒𝐭𝐚𝐲 𝐬𝐞𝐜𝐮𝐫𝐞.

## Similar posts on daily.dev

- [The Dependency You Didn’t Choose](https://daily.dev/posts/the-dependency-you-didn-t-choose-cfixvbzyc) · Tech Lead Digest · 0 upvotes · 0 comments
- [Package Security Defenses for AI Agents](https://daily.dev/posts/package-security-defenses-for-ai-agents-6cyningof) · Andrew Nesbitt · 1 upvotes · 0 comments
- [“There is no accountability”: AI coding agents are installing packages no one owns](https://daily.dev/posts/there-is-no-accountability-ai-coding-agents-are-installing-packages-no-one-owns-95iq1ggkz) · The New Stack · 1 upvotes · 0 comments
- [Slopsquatting: Your AI Invented a Package, and an Attacker Was Waiting](https://daily.dev/posts/slopsquatting-your-ai-invented-a-package-and-an-attacker-was-waiting-pz8bcrd9w) · DEV · 4 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/the-part-of-your-ai-coding-workflow-nobody-has-figured-out-how-to-secure-yet-ltyfdodqi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/the-part-of-your-ai-coding-workflow-nobody-has-figured-out-how-to-secure-yet-ltyfdodqi","headline":"The part of your AI coding workflow nobody has figured out how to secure yet","text":"AI coding agents now install packages autonomously, removing the human decision point that once served as an informal security check. Studies show nearly 1 in 5 AI-recommended packages don't exist, and attackers are pre-registering these predictable hallucinated names with malicious payloads. Existing dependency-scanning tools were designed around human-initiated installs and lack visibility into what agents pull in mid-task, creating a security gap that current tooling doesn't address. A linked post from Xygeni explores npm package security implications when AI agents run the install.","url":"https://daily.dev/posts/the-part-of-your-ai-coding-workflow-nobody-has-figured-out-how-to-secure-yet-ltyfdodqi","datePublished":"2026-09-03T19:25:53.778Z","dateModified":"2026-09-13T21:14:17.884Z","author":{"@type":"Person","name":"Julia","url":"https://daily.dev/julia7","image":"https://media.daily.dev/image/upload/s--Vye82kCe--/f_auto/v1752235114/avatars/avatar_JI6NHO2CHs2BU4FFm4NUw?_a=BAMClqZW0","description":"DevSecOps Lover and Software Supply Chain Security Advocate | Solutions Manager at Xygeni","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":290}},"image":"https://media.daily.dev/image/upload/s--hPwAYwbp--/f_auto/v1788422627/posts/hdVGsZn28?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/dev_world","name":"Dev World"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Dev World","item":"https://daily.dev/squads/dev_world"},{"@type":"ListItem","position":3,"name":"The part of your AI coding workflow nobody has figured out how to secure yet"}]}
```

