Files
Anthropic-Cybersecurity-Skills/skills/detecting-dependency-confusion/references/api-reference.md
T
mukul975 8cae0648ec Add 55 new skills across 3 new domains + 6 undercovered areas (762 -> 817)
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.
2026-06-22 19:08:16 +02:00

46 lines
2.2 KiB
Markdown

# API and Command Reference
## confused (visma-prodsec/confused)
Install: `go install github.com/visma-prodsec/confused@latest`
Syntax: `confused [-l LANGUAGE] [-s SECURE_NAMESPACES] [-v] MANIFEST`
| Flag | Values / Example | Description |
|------|------------------|-------------|
| `-l` | `npm` (default), `pip`, `mvn`, `composer`, `rubygems` | Selects the package ecosystem / manifest type. |
| `-s` | `'@acme/*,@acme-internal/*'` | Comma-separated known-secure namespaces; supports `*` wildcards. Suppresses false positives. |
| `-v` | (flag) | Verbose output; prints every registry lookup. |
Manifest mapping: `npm``package.json`, `pip``requirements.txt`, `mvn``pom.xml`, `composer``composer.json`, `rubygems``Gemfile.lock`.
## OWASP dep-scan
Install: `pip install owasp-depscan`
| Argument | Example | Description |
|----------|---------|-------------|
| `--src` | `--src $PWD` | Path to source repo (or container image). |
| `--reports-dir` | `--reports-dir ./reports` | Output directory for JSON/HTML reports. |
| `--private-ns` | `--private-ns acme,@acme` | Comma-separated private namespaces to check for confusion exposure. |
| `--risk-audit` | (flag) | Deep package risk audit (npm/pypi): takeover, typosquat, maintenance risk. |
| `-t` / `--type` | `-t nodejs` | Restrict to a project type. |
## Public registry probe endpoints (claimability check)
| Registry | Endpoint | 404 means |
|----------|----------|-----------|
| npm | `https://registry.npmjs.org/<name>` (URL-encode `/` in scopes as `%2f`) | Name unregistered / claimable. |
| PyPI | `https://pypi.org/pypi/<name>/json` | Project name free. |
| Maven Central | `https://search.maven.org/solrsearch/select?q=g:<group>+AND+a:<artifact>` (empty `response.numFound`) | Coordinate not published. |
| RubyGems | `https://rubygems.org/api/v1/gems/<name>.json` | Gem not published. |
## Remediation config keys
| Ecosystem | File | Key |
|-----------|------|-----|
| npm | `.npmrc` | `@scope:registry=<private-url>`, top-level `registry=` |
| pip | `pyproject.toml` / `pip.conf` | `index-url` (avoid `extra-index-url` for internal pkgs) |
| Maven | `~/.m2/settings.xml` | `<mirror><mirrorOf>*</mirrorOf>` |
| Composer | `composer.json` | `repositories` + `"packagist.org": false` |