domains / families / security / detecting-dependency-confusion

detecting-dependency-confusion

separate

Detect and prevent dependency confusion (public-over-private package name resolution) in npm, PyPI, and Maven by enumerating claimable internal package names with tools like `confused` and OWASP `dep-scan`, then enforcing source restrictions via `.npmrc`, `pip.conf`/`pyproject.toml`, and Maven `settings.xml`. Use when onboarding a repo to a supply-chain security program, auditing lockfiles/manifests for confusable dependencies, or after an incident that may have leaked internal package names.

When to use

When not to use

Skill page

Source

RepositoryPath
mukul975/Anthropic-Cybersecurity-Skillsskills/detecting-dependency-confusion/SKILL.md