본문으로 건너뛰기
Skillpedia
보안35k · #8318

performing-supply-chain-attack-simulation

하는 일

이 도구는 소프트웨어 공급망 공격을 시뮬레이션하고 탐지합니다. 악성 패키지나 이름이 비슷한 패키지를 확인하고, 비공개 패키지가 공개 패키지와 혼동될 수 있는지 테스트하며, 설치된 패키지의 보안을 검증합니다.

사용하는 경우

  • ✓프로젝트의 의존성 보안을 감사할 때.
  • ✓패키지 레지스트리의 보안을 테스트할 때.
  • ✓패키지 관련 보안 사고에 대응하는 경우.

스킬 링크

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-supply-chain-attack-simulation/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

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

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-supply-chain-attack-simulation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 Python 프로젝트에 공급망 공격이 있는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 유사도 지표를 사용해 패키지 이름을 인기 있는 패키지와 비교합니다. 비공개 패키지가 공개 패키지와 혼동될 수 있는지 확인하고, 설치된 패키지를 알려진 취약점에 대해 스캔합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Performing Supply Chain Attack Simulation

Overview

Software supply chain attacks exploit trust in package registries through typosquatting (registering names similar to popular packages), dependency confusion (publishing higher-version public packages matching private names), and compromised package distribution. This skill detects these attack vectors by computing Levenshtein distance between package names and popular PyPI packages, verifying package integrity via SHA-256 hash comparison, scanning for known CVEs with pip-audit, and testing dependency resolution order for confusion vulnerabilities.

When to Use

  • When conducting security assessments that involve performing supply chain attack simulation
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.

Key Detection Areas

  1. Typosquatting — compare package names against top PyPI packages using edit distance thresholds
  2. Dependency confusion — check if internal package names exist on public PyPI with higher version numbers
  3. Hash verification — download packages and verify SHA-256 digests match published hashes
  4. Vulnerability scanning — audit installed packages against OSV and PyPA advisory databases
  5. Metadata anomalies — flag packages with suspicious author emails, missing homepages, or very recent first upload dates

Output

JSON report with risk scores per package, detected attack vectors, hash verification results, and CVE findings.

자주 묻는 질문

‘타이포스쿼팅(typosquatting)’ 공격이란 무엇인가요?

공격자가 인기 있는 패키지와 매우 비슷한 이름을 등록해, 개발자가 오타를 내서 악성 패키지를 설치하기를 노리는 것입니다.

‘의존성 혼동(dependency confusion)’이란 무엇인가요?

공격자가 회사 내부 패키지와 같은 이름이지만 더 높은 버전의 패키지를 공개 레지스트리에 올리는 것입니다. 안전하게 설정되지 않으면 시스템이 내 패키지 대신 공격자의 패키지를 내려받을 수 있습니다.

SHA-256 해시 검증은 무엇을 위한 것인가요?

내려받은 패키지가 개발자가 공개한 것과 정확히 같은지 고유 식별 코드(해시)를 비교해 확인하고, 변조된 패키지를 막기 위한 것입니다.

상세 정보

작성자의 원본 설명

Simulates and detects software supply chain attacks: typosquatting detection via Levenshtein distance against popular PyPI package names, dependency confusion testing against private registries, SHA-256 package hash verification, and known-CVE scanning with pip-audit. Use when auditing a project's dependencies for malicious or confused packages, or when assessing package-registry supply-chain risk

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

GitHub 스타
35k
순위
#8318
라이선스
Apache-2.0
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬