01-recon-osint
Passive and active reconnaissance, subdomain enumeration, DNS analysis, technology fingerprinting, and OSINT data correlation for authorized security…
Software supply chain security — SBOM generation and analysis, dependency confusion and typosquatting detection, malicious package indicators, CI/CD pipeline hardening, and artifact provenance/signing (SLSA, Sigstore)
$ npx -y skills add Masriyan/Claude-Code-CyberSecurity-Skill --skill 20-supply-chain-security --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/20-supply-chain-securityContext preview
The summary Claude sees to decide when to auto-load this skill.
Software supply chain security — SBOM generation and analysis, dependency confusion and typosquatting detection, malicious package indicators, CI/CD pipeline hardening, and artifact provenance/signing (SLSA, Sigstore)
name: Supply Chain Security description: Software supply chain security — SBOM generation and analysis, dependency confusion and typosquatting detection, malicious package indicators, CI/CD pipeline hardening, and artifact provenance/signing (SLSA, Sigstore) version: 3.1.0 author: Masriyan tags: [cybersecurity, supply-chain, sbom, sca, typosquatting, dependency-confusion, slsa, sigstore, ci-cd-security, provenance]
Enable Claude to assess and harden the software supply chain end-to-end: what a project depends on, how those dependencies got in, how they were built, and how anyone downstream can trust the result. This complements Skill 02 (Vulnerability Scanner) — Skill 02 asks "is this known-vulnerable version?"; this skill asks "is this dependency, build, or pipeline something to trust at all?"
---
This skill activates when the user asks about:
---
pip install pyyaml requests
**Optional enhanced tools:**
---
**When the user asks to generate or review an SBOM:**
1. Identify the ecosystem(s) in the project (see manifest map below) and generate a CycloneDX or SPDX SBOM with the appropriate tool (`syft dir:. -o cyclonedx-json`, `cyclonedx-py`, or language-native equivalents) — or, without tooling, build a manual component list directly from lockfiles. 2. For each component, capture: name, version, ecosystem/PURL, declared license, and (if available) known vulnerabilities. 3. Cross-reference against Skill 02's vulnerability scanning for a combined SBOM+VEX view: which components are affected, and which affected components are actually reachable in the code. 4. Flag components with no discoverable source repository, an unusually recent first-publish date paired with a sudden high download count, or a license that conflicts with project policy (e.g., copyleft in a proprietary product).
**When the user asks to audit dependencies for malicious/confusable packages:**
1. **Typosquatting** — compare declared package names against well-known popular packages in the same ecosystem for near-miss names (edit distance, added/dropped hyphen, swapped separator, homoglyphs). 2. **Dependency confusion** — for any internal/private package name, confirm it is actually scoped (npm `@org/pkg`) or otherwise cannot be shadowed by a same-named public package; flag any internal package referenced without a scope or private-registry pin. 3. **Registry existence & metadata** — verify a package still exists at its declared registry, and treat a sudden maintainer change, drastically inflated version jump, or an empty/near-empty README on a long-lived package as a signal worth flagging. 4. Use `scripts/supply_chain_auditor.py` for the automatable parts (typosquat distance, floating versions, missing lockfile, lifecycle-script red flags); apply human judgment for anything the script surfaces as a near-miss rather than treating a hit as proof of compromise.
**When reviewing a specific package (new dependency, or a flagged one) for compromise:**
Look for, in order of severity:
**When the user asks to review a build/deploy pipeline:**
[ ] Third-party actions pinned to a full commit SHA, not a mutable tag/branch [ ] Workflow declares explicit top-level `permissions:` (default is broad without it) [ ] pull_request_target is never combined with checkout of PR head + code execution [ ] Secrets are scoped to the job/environment that needs them, not global [ ] Self-hosted runners are not used for public-repo PR workflows (arbitrary code execution risk) [ ] Reusable/composite actions from third parties are reviewed like any other dependency [ ] Build artifacts are published with provenance (see below), not just uploaded raw
[ ] Build environment is ephemeral / reproducible, not a long-lived hand-configured box [ ] Dependency resolution uses lockfiles, not f
22 production-quality Claude Code Skills for cybersecurity professionals — covering offensive security, defensive operations, reverse engineering, threat hunting, threat intelligence, purple team / adversary emulation, CSOC automation, AI/LLM security,
Repo: Masriyan/Claude-Code-CyberSecurity-Skill
Passive and active reconnaissance, subdomain enumeration, DNS analysis, technology fingerprinting, and OSINT data correlation for authorized security…
Dependency auditing, CVE detection, configuration security review, CVSS scoring, and prioritized vulnerability reporting
Proof-of-concept development, payload crafting, shellcode analysis, and exploitation technique research for authorized security testing
Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering
Static and dynamic malware analysis, YARA rule generation, sandbox configuration, behavioral profiling, and malware family classification
IOC extraction, threat intelligence correlation, MITRE ATT&CK mapping, hunt hypothesis generation, and detection rule creation