---
title: "Discussion on \"AI Is Writing Your Dependencies Now. Here's the New Attack Surface.\" | Hashnode"
description: "Discussion on \"AI Is Writing Your Dependencies Now. Here's the New Attack Surface.\". LLMs hallucinate package names 5–22% of the time. Attackers register them first. How slopsquatting works, real incidents & what verified libraries fix"
url: "https://hashnode.com/posts/ai-is-writing-your-dependencies-now-here-s-the-new-attack-surface/6ac8580a6ea17c4e9b6757c9"
---

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

Discussion

# [AI Is Writing Your Dependencies Now. Here's the New Attack Surface.](https://khushitrivedi.hashnode.dev/ai-is-writing-your-dependencies-now-here-s-the-new-attack-surface?utm_source=hashnode&utm_medium=feed)

LLMs hallucinate package names 5–22% of the time. Attackers register them first. How slopsquatting works, real incidents & what verified libraries fix

Sep 26 · 5 min read · khushitrivedi.hashnode.dev  
Read the article

-   [#ai-security](https://hashnode.com/tag/ai-security)
-   [#slopsquating](https://hashnode.com/tag/slopsquating)
-   [#software-supply-chain](https://hashnode.com/tag/software-supply-chain)
-   [#dependency-management](https://hashnode.com/tag/dependency-management)
-   [#llm-code-generation](https://hashnode.com/tag/llm-code-generation)
-   [#package-hallucination](https://hashnode.com/tag/package-hallucination)
-   [#open-source-security](https://hashnode.com/tag/open-source-security)
-   [#cybersecurity](https://hashnode.com/tag/cybersecurity)
-   [#devsecops](https://hashnode.com/tag/devsecops)
-   [#devsecops-solutions](https://hashnode.com/tag/devsecops-solutions)

## Written by

[Khushi Trivedi](https://hashnode.com/@trivedi-khushi)

@trivedi-khushi · Bengaluru, India

  
[View profile](https://hashnode.com/@trivedi-khushi)

Developer Advocate | Author | Learner

Documenting all my learnings. On a mission to enhance developer experience &amp; onboarding through DevRel practices. 👩🏻‍💻 Tracking best UX &amp; DevEx operations ✍🏻 Open-Source Author 🎙️ Community Advocate 🧪 Building AI frameworks &amp; practices

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
