Registry / mukul975

mukul975/anthropic-cybersecurity-skills/detecting-dependency-confusion

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.

Agent skill · version 1.3.1-main.1794313675.g54a7988 · from mukul975/Anthropic-Cybersecurity-Skills

Install

npx yarkr-cli add skill:mukul975/anthropic-cybersecurity-skills/detecting-dependency-confusion

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:mukul975/anthropic-cybersecurity-skills/detecting-dependency-confusion
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:mukul975/anthropic-cybersecurity-skills/detecting-dependency-confusion

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:mukul975/anthropic-cybersecurity-skills/detecting-dependency-confusion

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.