wgpsec/aboutsecurity/supply-chain-attack
Claude Code and agent skill by wgpsec/aboutsecurity
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
软件供应链攻击方法论。当目标使用 npm/PyPI/Maven 等包管理器、有私有仓库、使用 CI/CD Pipeline 时使用。覆盖 Dependency Confusion、Typosquatting、恶意包发布、CI/CD 投毒、构建服务器攻击
Install
npx vskill@latest install wgpsec/aboutsecurity/supply-chain-attackSKILL.md
The same SKILL.md was published earlier as wgpsec/aboutsecurity/supply-chain-attack.
软件供应链攻击方法论
核心思路:不攻击目标本身,攻击目标信任的上游依赖/构建流程
⛔ 深入参考
- Dependency Confusion 详细利用步骤 → references/dependency-confusion.md
- CI/CD Pipeline 攻击向量 → references/cicd-attack.md
攻击面识别
Phase 1: Dependency Confusion(依赖混淆)
原理
发现私有包名
攻击执行(npm 示例)
各包管理器差异
| 包管理器 | Confusion 条件 | 防御 | |
|---|---|---|---|
| npm | 无 scope(@) 前缀 + 无 .npmrc 锁定 | 使用 @scope + registry 锁定 | |
| pip | 无 --index-url 锁定 + 无 --extra-index-url | 使用 --index-url 唯一源 | |
| Maven | 无 mirrorOf 配置 | 使用 repository 白名单 | |
| NuGet | 多源配置 + 无版本锁定 | 使用 nuget.config 锁定源 |
Phase 2: Typosquatting(拼写抢注)
Phase 3: CI/CD Pipeline 攻击
攻击向量
GitHub Actions 攻击示例
GitLab CI/CD 攻击
Phase 4: 恶意包载荷设计
OPSEC 注意事项
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
- SKILL.md in the repositoryCheckingskills/exploit/advanced/supply-chain-attack/SKILL.md
Popularity
- Repository stars
- 1,686
- Repository forks
- 238
- 7-day trend score
- 37
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Aug 2026, 3 months ago.
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
[](https://verified-skill.com/skills/wgpsec/aboutsecurity/supply-chain-attack)