惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
IT之家
IT之家
博客园_首页
博客园 - 【当耐特】
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
G
Google Developers Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
GbyAI
GbyAI
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
I
InfoQ
H
Help Net Security
T
Tailwind CSS Blog
B
Blog RSS Feed
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
博客园 - 叶小钗
雷峰网
雷峰网
量子位

Lohrmann on Cybersecurity

State and Local Government Cyber Leaders Prioritize AI, Identity and Stopping Fraud The Identity Paradox: Digital State IDs Now Riskier, More Urgent NASTD 2026: Why Gov Tech Leaders Must Focus on Culture Hacking Back Is Back: White House to Enable Cyber Privateers Innovation or Negligence? What Recent AI Hacks Mean for the Future of Cybersecurity How New Laws Will Help Guard Seniors Against Scams Virtual Integrity Revisited: 7 Habits for the AI Age From Principles to Practice: Actionable Blueprints for Ethical AI On AI Ethics: Why Prompt Engineering Needs a Moral Compass Navigating NIST’s New Cybersecurity AI Frontier AI at Work: Employees Aren’t Waiting for Permission AI, Mind Reading and Microchip Brain Implants The Global State of Technology Risk in 2026 The Mythos Race: Trump’s New EO and Glasswing’s Expansion No Longer Invisible: When Cyber Attacks Go Physical How New College Grads Can Succeed in an AI Economy Protecting People and Infrastructure: A 2026 World Cup Security Preview ‘CI Fortify’ Is the New Road Map for State and Local Resilience A Tale of Two States: The 2026 Cybersecurity Paradox The Great Stay: Why Tech Talent Is Choosing Stability Over Salary A History of Global Hacking — and Where It’s Going Next Why Anthropic’s Mythos Is a Systemic Shift for Global Cybersecurity Post-Quantum Cryptography: Moving From Awareness to Execution RSAC 2026 Highlights: From Agentic AI to Active Defense What Is Physical AI, and What Does It Mean for Government? New Federal Strategies, Rising Risk From Iran Top Cyber Themes Securing Critical Infrastructure in a Time of War From Michigan to Silicon Valley: A Conversation With Mohamad Yassine Defending Your Castle: Best Practices for Smart Home Security Your Smart Home Is Watching You: Privacy in the Age of AI Robots
Slopsquatting in the Supply Chain: Weaponized AI Hallucin...
https://www.govtech.com/authors/dan-lohrmann.html · 2026-08-23 · via Lohrmann on Cybersecurity

Back in April 2025, I examined 'Slopsquatting' and other new generative AI cybersecurity threats.

Fast-forward 17 months, and the company Snyk has recently highlighted the many dangers that are posed by slopsquatting as well as some of the consequences. Their article also describes how to mitigate this serious and growing threat.

Here’s how their piece begins:


“We've all experienced that magical moment when our AI coding assistant suggests the perfect package to solve a complex problem—instantly providing what seems like the exact dependency we need. As developers, we've grown to trust these intelligent recommendations, often implementing them without a second thought. But here's the alarming reality: in a recent research, 19.7% of generated packages across all tested LLMs were hallucinated.

“These aren't random typos. Attackers are systematically registering these AI-hallucinated package names like "aws-helper-sdk" and "fastapi-middleware" on public repositories, creating sophisticated traps for unsuspecting developers. This represents a dangerous evolution in supply chain attacks that every security team must understand immediately.”

I encourage readers to read Snyk's article to learn much more about slopsquatting and examine late 2026 twists. But in order to dive deeper into this topic and raise awareness of current trends from this threat, I was able to catch up with Snyk CTO Manoj Nair for an interview.

Snyk CTO Manoj Nair.

Dan Lohrmann (DL): How is "slopsquatting" turning AI hallucinations into a software supply-chain attack vector?

Snyk CTO Manoj Nair (MN): Because the hallucinations repeat. Researchers re-ran 500 prompts that had already produced a hallucinated package name 10 times each and 43 percent came back on every run. A systematic model behavior becomes a namespace an attacker can register in advance.

The rest is free. Registering on npm or PyPI costs nothing. No maintainer to compromise, no build server to poison, no vulnerability to find. Watch what the models invent, register it, wait.

"Typosquatting" needs the developer to make a mistake. "Slopsquatting" needs the developer to be right about everything except the one thing nobody checked. The package looks clean because it's new. It maps to MITRE T1195.001, Compromise Software Dependencies and Development Tools. A supply-chain attack that enters through the IDE.

DL: Why do developers need to verify AI-recommended dependencies before they enter the codebase?

MN: Because the generator cannot be the validator. Asking the model that proposed the package whether it's safe is asking the same system the same question twice.

A dependency is a permission grant. The keyv compromise on Aug. 4 spread across roughly 444 packages and 779 advisories, and a second execution path planted .claude and .vscode config set to fire the moment a developer or coding agent opened the project. No install required. It carried valid provenance attesting to a compromised build.

Models resurrect real packages too. Nearly 90 percent of the open-source ecosystem is dormant, about 6.3 million abandoned forks and experiments. Humans stay on the paved roads. Models sample the whole Internet. Those packages show zero CVEs because nobody has ever looked.

Treating "package not found" as a security signal is a start, and it deserves the same scrutiny any new, unfamiliar dependency should get. The deeper fix is structural, not procedural: automated checks against a package's maintenance activity, provenance and known-malicious behavior need to run at the moment a model proposes it, inside the developer's own tools — not as a manual review step bolted on afterward. For most teams, neither exists today.

DL: How can companies vet AI-suggested packages without slowing developers down?

MN: Stop putting a human in the loop. A review queue adds delay and exposure.

Before install, check the selection within the agent loop. When the assistant proposes a dependency, a health check fires automatically against maintenance activity, provenance, adoption and known malicious behavior, then pauses or blocks. Milliseconds, at the point of decision.

Apply the enforcement at the installation path, not at the pull request. A proxy governing npm and PyPI pulls lets you implement policy without unnecessary procedures: It blocks anything subject to a published malware advisory. It imposes a cooling-off period on new releases. Slopsquatted packages are new by definition.

You can examine packages without running them. Anthropic's July 30 disclosure showed that a model found setup instructions referencing a PyPI package that didn't exist, registered the name, and published malware under it. Within an hour, 15 real systems executed it. One was a security vendor's scanner, which installs and runs packages to test them. Executing the code exposed that vendor's credentials. If your verification method is detonation, it’s an attack surface, not a defense.

DL: You say “stop putting a human in the loop.” But does that mean we should blindly trust AI? Didn’t that get us into this situation in the first place? Aren’t you really just suggesting putting human checks in different places? And/or, should this really be checking AI with another AI tool from another vendor?

MN: We shouldn't blindly trust AI. The difficulty is that requiring a human to approve every single action doesn’t scale when AI is operating at machine speed. 

Humans still have a critical role to play, but they need to be moved up a level: setting the rules, defining what the system is allowed to do, monitoring behavior and stepping in when it goes outside those boundaries. 

AI shouldn’t simply be trusted to check its own work. The generator can’t also be the only validator. You need independent validation of what the AI is doing — which can involve AI-powered security tools, but with clear policy and human oversight. 

Installing human checks in key points throughout the business process rather than humans approving every action is the sensible path at a time when digital operations are moving at machine speed.

DL: How might slopsquatting evolve as more companies rely on AI to write and ship code?

MN: The human leaves the loop. Today, a developer at least sees the package name. In an agentic pipeline, the agent resolves it, installs it, builds around it and opens the PR. Nobody reads the name. The review point that catches this is being engineered out.

Attackers stop observing hallucinations and start inducing them. Seed the tutorials, sample repos and forum answers that models train on, so a name you already own becomes the statistically obvious suggestion. Cheaper than compromising a longer shelf life. Hallucination rates vary sharply by model, so a shop standardized on one assistant is a profile-able population.

It spreads past packages. The unit of trust in agentic development is also the MCP server, the skill, the tool the config file. All name-addressed, all squattable. A chained exploit was already found inside GitHub's MCP server, and keyv has already proved the config file executes on its own, the moment a project opens. The defense doesn't change. Something outside the model confirms what the model produced before it runs.

FINAL THOUGHTS

Nair brings up many important points and raises important trends that developers must address today. I want to thank him for this timely interview.

Please spread the word on these important slopsquatting trends. This YouTube video offers a quick primer.