Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

dependency-confusion

Skill by Zyrexnn

Explains dependency confusion testing across npm, pip, RubyGems, Maven, Composer and Docker manifests. Aimed at manifest reviewers and authorized red-team supply-chain exercises.

  • Score 83
  • 1.1k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install dependency-confusion

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Zyrexnn/Cybermes /tmp/Cybermes && mkdir -p ~/.claude/skills && cp -r /tmp/Cybermes/skills/dependency-confusion ~/.claude/skills/dependency-confusion

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install dependency-confusion in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The dependency-confusion skill is a supply-chain testing playbook. It describes how internal package names can resolve to attacker-controlled public registries, leading to malicious install and script execution. It covers affected ecosystems (npm, pip, RubyGems, Maven, Composer and Docker), reconnaissance commands, and defensive controls.

It includes non-destructive proof-of-concept patterns that use callbacks rather than data exfiltration, plus a tool list and a decision tree. The source states it is for authorized testing only and for manifest review and red-team exercises. It is aimed at security teams and reviewers who check dependency configuration. The skill is written as an instruction file for an AI assistant.

Written from the project's SKILL.md and checked against it.

What it can do

  • Quick start triageLists what to look for first in manifests, such as internal-looking names and missing lockfiles.
  • Ecosystem pitfallsExplains confusion risks for npm scopes, pip extra indexes, RubyGems sources, Maven repositories and Composer.
  • Reconnaissance commandsProvides read-only commands to check package names and versions on public registries.
  • Authorized PoC patternsShows callback-style proof-of-concept hooks for npm and pip, with no destructive writes.
  • Tool referencesNames confused and DepFuzzer for scanning manifests and testing in-scope dependency confusion.
  • Defense guidanceRecommends scoped packages, exact versions with lockfiles, single private indexes and monitoring tools.
  • Decision treeWalks through whether naming and registry setup make dependency confusion a high-risk finding.

What you need

  • npm CLI
  • Python with pip
  • RubyGems (gem) CLI
  • curl

Try asking

  • Review this package.json for internal names that could be claimed on npmjs
  • Give me a defensive checklist for pip extra index URL risks
  • Walk me through the dependency confusion decision tree for my manifests

Good to know

  • The source says to use it only on systems and programs you are authorized to test.
  • The reference PoC implementation requires written permission, according to the source.
  • Recon commands are described as read-only lookups.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/dependency-confusion/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB

Alternatives to dependency-confusion

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

dependency-confusion: common questions

What does the dependency-confusion skill cover?

It covers how private package names can be claimed on public registries, the affected ecosystems, recon, PoC patterns, tools and defenses.

Is this skill meant for authorized testing only?

Yes. The source says to use it only on systems and programs you are authorized to test.

Which defenses does the source recommend?

It recommends scoped npm packages, exact versions with lockfiles, a single private pip index, controlled Maven repository order, and Composer canonical repositories.

How do I install dependency-confusion?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is dependency-confusion free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is dependency-confusion safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to dependency-confusion?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

dependency-confusion Install

Add to stack

Loading.