dependency-confusion

Map internal package names to public registries to assess dependency-confusion risks.

120|8|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/Prohao42/aimy-sikll --skill dependency-confusion-prohao42
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dependency-confusion
Source: https://github.com/Prohao42/aimy-sikll/tree/main/ai-mian/hack-skills/skills/dependency-confusion
Command: npx skills add https://github.com/Prohao42/aimy-sikll --skill dependency-confusion-prohao42

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dependency confusion creates risk when internal package names can resolve to public registries, enabling malicious code execution during installs.

Core Features & Use Cases

  • Recon internal package identifiers across manifests and CI pipelines.
  • Assess exposure across npm, PyPI, RubyGems, Maven, Composer, and Docker workflows.
  • Provide authorized PoC patterns and defensive controls for red-team and blue-team engagements.

Quick Start

Identify internal-looking package names in manifests and begin an authorized dependency-confusion assessment in a controlled lab environment.

Frequently Asked Questions about dependency-confusion

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is dependency confusion in software supply chains?

Dependency confusion occurs when internal package names resolve to public registries, enabling malicious code execution during installs. This Skill identifies such risks by mapping internal package identifiers across manifests and CI pipelines to public registries.

How do I audit dependency-confusion risks across npm, PyPI, and Maven workflows?

To audit dependency-confusion risks, identify internal-looking package names in manifests and CI pipelines, then assess exposure across npm, PyPI, RubyGems, Maven, Composer, and Docker workflows. This Skill provides structured guidance for recon, safe PoC patterns, and defensive controls.

Can I test for dependency confusion in CI pipelines and build environments?

Yes, you can test for dependency confusion in CI pipelines and build environments. This Skill applies to development, CI pipelines, and build environments to detect potential package name collisions and risky configurations across multiple package managers.

Does this dependency-confusion assessment support Docker manifests and Composer?

Yes, this dependency-confusion assessment supports Docker manifests and Composer, along with npm, PyPI, RubyGems, and Maven. It maps internal package names across these registries to detect potential collisions and risky configurations.

What's the best way to run an authorized dependency-confusion PoC safely?

The best way to run an authorized dependency-confusion PoC is in a controlled lab environment using structured guidance with explicit guardrails. This Skill provides safe PoC patterns for red-team and blue-team engagements to assess exposure without unintended impact.

What guardrails are needed when testing dependency confusion in supply chains?

Testing dependency confusion requires explicit guardrails for authorized testing, including operating in a controlled lab environment. This Skill implements structured auditing steps and safe PoC patterns to ensure assessments remain within authorized boundaries during red-team and blue-team engagements.