Npm dependency confusion

From zakirkun/ice-tea · View interactive version

Npm dependency confusion is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects package.json configurations vulnerable to dependency confusion attacks where internal package names could be hijacked via public npm registry.

How to use this skill

Skill file

NPM Dependency Confusion Attack

Overview

Dependency confusion exploits package manager precedence: if an internal package is published to the public npm registry with a higher version, it gets installed instead of the internal one. Attackers scan job postings and error messages for internal package names.

Remediation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.