smartworldarafath/rea_skill/payloads-dep-confusion

Claude Code and agent skill by smartworldarafath/rea_skill

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

A dependency confusion attack or supply chain substitution attack occurs when a software installer script is tricked into pulling a malicious code file from a public repository instead of the intended file of the same name from an internal repository. Tool to check for dependency confusion vulnerabilities in multiple package management systems Tool used to find dependency confusion or project...

Install

npx vskill@latest install smartworldarafath/rea_skill/payloads-dep-confusion

SKILL.md

The same SKILL.md was published earlier as smartworldarafath/rea_skill/payloads-dep-confusion.

Dependency Confusion Payloads

Category: payloads-web | Skill ID: payloads-dep-confusion

Overview

Dependency confusion attack techniques for supply-chain package hijacking.

This skill integrates the full PayloadsAllTheThings (PATT) payload library for the Dependency Confusion Payloads domain into the REA_Skill framework. Use it during authorized penetration testing, bug bounty research, security audits, and CTF challenges.

Workflow

1. Recon & Identification
  • Identify the target technology stack and injection points
  • Enumerate endpoints, parameters, and input vectors
  • Determine applicable payload categories from the reference below
2. Payload Selection
  • Browse the PATT payload library for the attack class
  • Select encoding-appropriate payloads for the target environment
  • Consider WAF bypass variants and obfuscation techniques
3. Exploitation (Authorized Only)
  • Test payloads in order: passive → active → escalation
  • Document every payload tested and its response
  • Capture PoC evidence (screenshots, HTTP logs, curl output)
4. Verification & Reporting
  • Confirm the vulnerability with a clean minimal PoC
  • Map findings to CVE/CWE where applicable
  • Report with remediation recommendations and code fixes

Full PATT Reference

Dependency Confusion

A dependency confusion attack or supply chain substitution attack occurs when a software installer script is tricked into pulling a malicious code file from a public repository instead of the intended file of the same name from an internal repository.

Summary

Tools

  • visma-prodsec/confused - Tool to check for dependency confusion vulnerabilities in multiple package management systems
  • synacktiv/DepFuzzer - Tool used to find dependency confusion or project where owner's email can be takeover.

Methodology

Look for npm, pip, gem packages, the methodology is the same : you register a public package with the same name of private one used by the company and then you wait for it to be used.

  • DockerHub: Dockerfile image
  • JavaScript (npm): package.json
  • MVN (maven): pom.xml
  • PHP (composer): composer.json
  • Python (pypi): requirements.txt
NPM Example

References


REA MCP Integration

javascript
// REA MCP — Automated payload injection via REA tools
// Use analyze_function, procedure_pseudo_code, or observe_native_calls
// to identify injection sinks, then apply payloads from this skill.

Legal Notice

⚠️ Authorized Use Only. All payloads in this skill are for security research, penetration testing with written permission, CTF competitions, and defensive study. Unauthorized use against systems you do not own or have explicit permission to test is illegal.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/smartworldarafath/rea_skill/payloads-dep-confusion/badge)](https://verified-skill.com/skills/smartworldarafath/rea_skill/payloads-dep-confusion)

Something wrong with this skill or its page? Tell us.