---
title: "Discussion on \"When your agent runs npm install: typosquats, dependency confusion and hallucinated packages\" | Hashnode"
description: "Discussion on \"When your agent runs npm install: typosquats, dependency confusion and hallucinated packages\". Ask a coding agent to add CSV parsing to a service, and there is a good chance its next step is npm install some-csv-library or pip install something. That one line does more than download code. It ru"
url: "https://hashnode.com/posts/when-your-agent-runs-npm-install-typosquats-dependency-confusion-and-hallucinated-packages/6b05528ea41e1e2763335732"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [When your agent runs npm install: typosquats, dependency confusion and hallucinated packages](https://sandscale.hashnode.dev/when-your-agent-runs-npm-install-typosquats-dependency-confusion-and-hallucinated-packages?utm_source=hashnode&utm_medium=feed)

Ask a coding agent to add CSV parsing to a service, and there is a good chance its next step is npm install some-csv-library or pip install something. That one line does more than download code. It ru

9h ago · 6 min read · sandscale.hashnode.dev  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#npm](https://hashnode.com/tag/npm)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Sandscale](https://hashnode.com/@sandscale)

@sandscale

  
[View profile](https://hashnode.com/@sandscale)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
