本文へスキップ
Skillpedia
セキュリティ6.5k · #14045

supplychain-overview

できること

このカタログは、ソフトウェアの依存関係やビルドシステムへの攻撃を扱うガイドを案内します。パッケージの提供元とビルドの入力を確認したいセキュリティチーム向けです。

使う場面

  • ✓会社がプライベートのパッケージレジストリを使い、名前の解決のされ方を確認したいとき。
  • ✓公開のファイルに、内部のパッケージの名前が現れていないかを確認したいとき。
  • ✓サードパーティのコードによるビルドパイプラインのリスクを見直す必要があるとき。

スキルのリンク

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/supplychain/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/supplychain/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“当社はプライベートのnpmパッケージを使っています。内部のパッケージ名が公開のファイルに露出していないかを確認してもらえますか。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントはロックファイルなどの公開ファイルを調べて内部のパッケージ名を探し、レジストリがそれらをどう解決するかを確認するため、該当するガイドを読み込みます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Supply-Chain Exploitation — Category Overview

This is a routing skill for supply-chain attack research. Sub-skills cover specific techniques against the dependency, build, and distribution layers.

Sub-Skills

Sub-Skill Covers When to Load
dep-confusion Public-registry impersonation of private package names, scoped-package abuse (@org/pkg), internal-name OSINT (lockfiles, GitHub Actions, Dockerfiles, error pages) Target uses private npm/PyPI/RubyGems/Cargo registries and you've discovered internal package names in public artifacts

Surface Discovery

# Lockfiles often expose private package names that aren't on public registry
grep -hE '"name":|"@.+/' package-lock.json yarn.lock pnpm-lock.yaml | sort -u
# pip
grep -E '^[a-z0-9_-]+' requirements.txt
# go.mod
grep '^\s*[a-z0-9./_-]\+\s' go.mod
# Maven
grep -A1 '<artifactId>' pom.xml | grep -v '^--$'

Decision Notes

  • Always confirm scope authorization in writing before publishing any package, even a benign one, to a public registry. Some bounty programs explicitly disallow public-registry submissions.
  • Use a beacon-only payload (DNS callback, HTTPS GET) for confirmation; never ship code that mutates the target environment without an explicit follow-up authorization.
  • Real damage from confusion attacks is usually post-install scripts (postinstall, setup.py install) — focus PoCs on benign callbacks, not RCE.
  • For build-pipeline poisoning (workflow injection, branch protection bypass) see /skills/standard/exploit/ad/SKILL.md (CI-as-AD-equivalent paths) and the broader threat-modeling under /skills/shared/opsec/SKILL.md.
よくある質問

依存関係の混乱とは何ですか?

公開されたパッケージがプライベートのものと同じ名前を取り、誤ってインストールされてしまうことです。

名前はどこから漏れますか?

ロックファイルは、公開のレジストリにない非公開のパッケージ名を露出することが多いとカタログは述べています。

パッケージの公開を勧めていますか?

公開のレジストリに公開するには、まず範囲の書面の承認が必要だとしています。

詳細

作者による元の説明

Supply-chain attack category — dependency confusion, typosquatting, package-registry abuse, build-pipeline poisoning, SBOM manipulation.

repo: BitterSecurity/Decepticon

人気

GitHubのスター
6.5k
ランキング
#14045
ライセンス
Apache-2.0
更新日
2026/11/1

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル