본문으로 건너뛰기
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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/supplychain/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 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

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬