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.
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-confusionRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Zyrexnn/Cybermes /tmp/Cybermes && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Cybermes/skills/dependency-confusion ~/.gemini/antigravity-cli/skills/dependency-confusionAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install dependency-confusion in Antigravity CLI
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
