<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-npm-install-you-didn-t-type-ti8cj8m7r" -->

---
title: The npm install you didn't type | daily.dev
description: Agentic coding assistants have removed the human review step that used to catch malicious npm installs, and two new threat categories are exploiting that gap....
canonical: https://daily.dev/posts/the-npm-install-you-didn-t-type-ti8cj8m7r
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The npm install you didn't type | daily.dev
og:description: Agentic coding assistants have removed the human review step that used to catch malicious npm installs, and two new threat categories are exploiting that gap....
og:url: https://daily.dev/posts/the-npm-install-you-didn-t-type-ti8cj8m7r
og:image: https://api.daily.dev/og/posts/tI8cj8M7R.png
og:image:alt: The npm install you didn't type
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 npm install you didn't type

**[Cyber News](https://daily.dev/sources/cybernews)** · [@julia7](https://daily.dev/julia7) · 1 min read · 0 upvotes · 0 comments

## Summary

Agentic coding assistants have removed the human review step that used to catch malicious npm installs, and two new threat categories are exploiting that gap. Slopsquatting relies on LLMs hallucinating package names consistently enough (nearly 1 in 5 recommended packages don't exist across a study of 2 million samples from 16 LLMs) that attackers can pre-register them. Separately, a critical RCE vulnerability was found in a widely used MCP bridge with over 437K downloads, triggered automatically when a client connects to an untrusted server. Traditional SAST/SCA scanners don't catch either issue because they analyze code, not what an autonomous agent installs or what an MCP server does mid-task.

## Content

𝐓𝐡𝐫𝐞𝐞 𝐦𝐚𝐣𝐨𝐫 𝐧𝐩𝐦 𝐬𝐮𝐩𝐩𝐥𝐲 𝐜𝐡𝐚𝐢𝐧 𝐢𝐧𝐜𝐢𝐝𝐞𝐧𝐭𝐬 𝐢𝐧 𝐞𝐢𝐠𝐡𝐭 𝐦𝐨𝐧𝐭𝐡𝐬. Then agentic coding assistants showed up and removed the last human checkpoint in the install flow.

The threat model changed in two specific ways that most security teams haven't caught up to yet.

First, slopsquatting. Academic research generated over 2 million code samples across 16 LLMs and found nearly 1 in 5 recommended packages didn't exist. The same hallucinated names recurred across repeated prompts, which makes them predictable enough to register in advance. Attackers are doing exactly that.

Second, MCP. A critical RCE vulnerability in a widely used MCP bridge, 437K+ downloads, triggered the moment a client connected to an untrusted server. Agentic workflows make those connections autonomously. The traditional review step doesn't exist.

Neither of these shows up in a SAST or SCA scan. Those tools understand code. They don't understand what an agent is about to install or what an MCP server is doing mid-task.

Full breakdown of what changed and what actually catches it: [𝐧𝐩𝐦 𝐏𝐚𝐜𝐤𝐚𝐠𝐞 𝐒𝐞𝐜𝐮𝐫𝐢𝐭𝐲: 𝐖𝐡𝐚𝐭 𝐂𝐡𝐚𝐧𝐠𝐞𝐬 𝐖𝐡𝐞𝐧 𝐘𝐨𝐮𝐫 𝐀𝐈 𝐀𝐠𝐞𝐧𝐭 𝐑𝐮𝐧𝐬 𝐭𝐡𝐞 𝐈𝐧𝐬𝐭𝐚𝐥𝐥.](https://xygeni.io/blog/npm-package-security-for-the-age-of-ai-agents/?utm_source=dailydev&utm_medium=post&utm_campaign=cybernews-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
- [Supply-chain attacks take aim at your AI coding agents](https://daily.dev/posts/supply-chain-attacks-take-aim-at-your-ai-coding-agents-o8vsjrfrt) · CSO Online · 0 upvotes · 0 comments
- [New npm worm hits CI pipelines and AI coding tools](https://daily.dev/posts/new-npm-worm-hits-ci-pipelines-and-ai-coding-tools-3fx3mdyns) · InfoWorld · 0 upvotes · 0 comments
- [New Study Identifies 53 Slopsquatting Targets Across 5 Front...](https://daily.dev/posts/new-study-identifies-53-slopsquatting-targets-across-5-front--6t7a1jnzb) · Socket · 0 upvotes · 0 comments
- [Coding Agents Just Reopened Your Software Supply Chain Blind Spot](https://daily.dev/posts/coding-agents-just-reopened-your-software-supply-chain-blind-spot-qam3brqhm) · JFrog · 0 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/the-npm-install-you-didn-t-type-ti8cj8m7r)

```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-npm-install-you-didn-t-type-ti8cj8m7r","headline":"The npm install you didn't type","text":"Agentic coding assistants have removed the human review step that used to catch malicious npm installs, and two new threat categories are exploiting that gap. Slopsquatting relies on LLMs hallucinating package names consistently enough (nearly 1 in 5 recommended packages don't exist across a study of 2 million samples from 16 LLMs) that attackers can pre-register them. Separately, a critical RCE vulnerability was found in a widely used MCP bridge with over 437K downloads, triggered automatically when a client connects to an untrusted server. Traditional SAST/SCA scanners don't catch either issue because they analyze code, not what an autonomous agent installs or what an MCP server does mid-task.","url":"https://daily.dev/posts/the-npm-install-you-didn-t-type-ti8cj8m7r","datePublished":"2026-09-08T14:37:55.266Z","dateModified":"2026-09-08T14:38:14.135Z","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--V0Lswvx6--/f_auto/v1788422071/posts/mptXWxdON?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/cybernews","name":"Cyber News"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Cyber News","item":"https://daily.dev/squads/cybernews"},{"@type":"ListItem","position":3,"name":"The npm install you didn't type"}]}
```

