mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-07-27 06:31:00 +03:00
Demand-driven expansion targeting the fastest-growing 2025-2026 threat and
skills categories (ISC2/WEF/CrowdStrike/Mandiant signals):
- AI Security (NEW domain, 12 skills): LLM red-teaming with garak/PyRIT,
prompt injection (direct/indirect/RAG), MCP tool-poisoning, agentic tool
invocation, guardrails, model/data poisoning, system-prompt leakage,
embedding/vector weaknesses, model extraction, continuous red-teaming
- Supply Chain Security (NEW domain, 5 skills): SBOMs, dependency confusion,
malicious-npm triage, typosquatting, SLSA/Sigstore provenance
- Hardware & Firmware Security (NEW domain, 4 skills): CHIPSEC/UEFI audit,
Secure Boot bypass, TPM measured-boot attestation, ESP bootkit hunting
- Identity (10): Entra ID/ROADtools, GraphRunner, AADInternals, ADCS/Certipy,
shadow credentials, coercion, BloodHound CE, device-code phishing, SSO abuse
- Cloud-native (8): Stratus, Pacu, CloudFox, container escape, K8s RBAC,
Falco, Trivy, kube-bench
- Offensive C2 (6): Sliver, Havoc, NetExec, DPAPI, NTLM relay ESC8, redirectors
- DFIR (6): Hayabusa, Chainsaw, KAPE, Velociraptor, EZ Tools, Plaso
- Backfill (4): OpenCTI, MISP, honeytokens, post-quantum crypto migration
Each skill follows the repo taxonomy (SKILL.md + references/{standards,api-reference}.md
+ scripts/agent.py + LICENSE), with researched real tool commands (no placeholders),
complete frontmatter, and ATT&CK/ATLAS + NIST CSF mappings. Updates README domain
table, skill count, and index.json.
61 lines
2.4 KiB
Markdown
61 lines
2.4 KiB
Markdown
# cosign & slsa-verifier CLI Reference
|
|
|
|
Sources:
|
|
- https://github.com/sigstore/cosign
|
|
- https://github.com/slsa-framework/slsa-verifier
|
|
- https://docs.sigstore.dev/cosign/verifying/verify/
|
|
|
|
## cosign — verification commands
|
|
|
|
| Command | Purpose |
|
|
|---------|---------|
|
|
| `cosign verify <image>` | Verify image signature(s) |
|
|
| `cosign verify-attestation <image>` | Verify in-toto attestation attached to image |
|
|
| `cosign verify-blob <file>` | Verify a detached signature on a blob |
|
|
| `cosign verify-blob-attestation <file>` | Verify an attestation bundle for a blob |
|
|
| `cosign download attestation <image>` | Pull attestations for offline inspection |
|
|
| `cosign tree <image>` | Show signatures/attestations attached to an image |
|
|
|
|
## cosign — key verification flags
|
|
|
|
| Flag | Meaning |
|
|
|------|---------|
|
|
| `--certificate-oidc-issuer <url>` | Required keyless: OIDC issuer that minted the cert |
|
|
| `--certificate-identity <san>` | Exact certificate identity (workflow SAN) |
|
|
| `--certificate-identity-regexp <re>` | Regex form of identity |
|
|
| `--type <type>` | Predicate type: `slsaprovenance`, `slsaprovenance02`, `slsaprovenance1`, `spdx`, `cyclonedx`, `vuln`, custom |
|
|
| `--bundle <file>` | Sigstore bundle for blob attestation |
|
|
| `--new-bundle-format` | Use the new Sigstore bundle format |
|
|
| `--key <path>` | Verify with a fixed public key (non-keyless) |
|
|
| `--rekor-url <url>` | Transparency log (default https://rekor.sigstore.dev) |
|
|
|
|
### GitHub OIDC issuer (constant)
|
|
```
|
|
https://token.actions.githubusercontent.com
|
|
```
|
|
|
|
## slsa-verifier
|
|
|
|
| Command | Purpose |
|
|
|---------|---------|
|
|
| `slsa-verifier verify-artifact <artifact>` | Verify provenance for a binary/artifact |
|
|
| `slsa-verifier verify-image <image>` | Verify provenance for a container image |
|
|
| `slsa-verifier verify-npm-package <tarball>` | Verify npm package provenance |
|
|
|
|
### slsa-verifier flags
|
|
|
|
| Flag | Meaning |
|
|
|------|---------|
|
|
| `--provenance-path <file>` | Path to provenance (.intoto.jsonl / .sigstore) |
|
|
| `--source-uri <repo>` | Expected source repository (GitHub URIs) |
|
|
| `--source-tag <tag>` | Expected git tag |
|
|
| `--source-versioned-tag <tag>` | Semver-aware tag match |
|
|
| `--builder-id <ref>` | Pin the trusted builder workflow (SLSA L3) |
|
|
| `--print-provenance` | Print the verified provenance to stdout |
|
|
|
|
## GitHub CLI native verification
|
|
|
|
| Command | Purpose |
|
|
|---------|---------|
|
|
| `gh attestation verify <artifact> --repo <org>/<repo>` | Verify GitHub-generated build provenance |
|