opencode-skills-collection 4.0.68 → 4.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +266 -1
- package/bundled-skills/access-review/SKILL.md +394 -0
- package/bundled-skills/access-review/references/details.md +121 -0
- package/bundled-skills/agent-evals/SKILL.md +420 -0
- package/bundled-skills/agent-observability/SKILL.md +346 -0
- package/bundled-skills/agent-observability/references/details.md +786 -0
- package/bundled-skills/ai-agent-security/SKILL.md +393 -0
- package/bundled-skills/ai-agent-security/references/details.md +912 -0
- package/bundled-skills/ai-coding-agent-guardrails/SKILL.md +442 -0
- package/bundled-skills/ai-coding-agent-guardrails/references/details.md +753 -0
- package/bundled-skills/ai-inference-service-mesh/SKILL.md +449 -0
- package/bundled-skills/ai-pipeline-orchestration/SKILL.md +287 -0
- package/bundled-skills/ai-red-teaming/SKILL.md +409 -0
- package/bundled-skills/ai-security-hardening/SKILL.md +343 -0
- package/bundled-skills/ai-sre-incident-response/SKILL.md +336 -0
- package/bundled-skills/alerting-oncall/SKILL.md +458 -0
- package/bundled-skills/alerting-oncall/references/details.md +84 -0
- package/bundled-skills/apk-redteam-pipeline/SKILL.md +446 -0
- package/bundled-skills/argocd-gitops/SKILL.md +469 -0
- package/bundled-skills/arm-templates/SKILL.md +438 -0
- package/bundled-skills/arm-templates/references/details.md +64 -0
- package/bundled-skills/asset-inventory/SKILL.md +412 -0
- package/bundled-skills/asset-inventory/references/details.md +127 -0
- package/bundled-skills/audit-logging/SKILL.md +476 -0
- package/bundled-skills/aws-cloudtrail/SKILL.md +486 -0
- package/bundled-skills/aws-cost-optimization/SKILL.md +331 -0
- package/bundled-skills/aws-ec2/SKILL.md +426 -0
- package/bundled-skills/aws-ecs-fargate/SKILL.md +388 -0
- package/bundled-skills/aws-iam/SKILL.md +463 -0
- package/bundled-skills/aws-lambda/SKILL.md +428 -0
- package/bundled-skills/aws-rds/SKILL.md +380 -0
- package/bundled-skills/aws-s3/SKILL.md +434 -0
- package/bundled-skills/aws-secrets-manager/SKILL.md +486 -0
- package/bundled-skills/aws-vpc/SKILL.md +436 -0
- package/bundled-skills/azure-ai-document-intelligence-ts/SKILL.md +1 -1
- package/bundled-skills/azure-aks/SKILL.md +423 -0
- package/bundled-skills/azure-devops/SKILL.md +457 -0
- package/bundled-skills/azure-functions-devsec/SKILL.md +436 -0
- package/bundled-skills/azure-keyvault/SKILL.md +455 -0
- package/bundled-skills/azure-keyvault/references/details.md +83 -0
- package/bundled-skills/azure-monitor-audit/SKILL.md +379 -0
- package/bundled-skills/azure-networking/SKILL.md +448 -0
- package/bundled-skills/azure-networking/references/details.md +135 -0
- package/bundled-skills/azure-sql/SKILL.md +413 -0
- package/bundled-skills/azure-sql/references/details.md +113 -0
- package/bundled-skills/azure-vms/SKILL.md +402 -0
- package/bundled-skills/azure-vms/references/details.md +134 -0
- package/bundled-skills/backup-recovery/SKILL.md +388 -0
- package/bundled-skills/bb-methodology/SKILL.md +451 -0
- package/bundled-skills/bb-methodology/references/details.md +120 -0
- package/bundled-skills/block-storage/SKILL.md +371 -0
- package/bundled-skills/blue-green-deploy/SKILL.md +453 -0
- package/bundled-skills/blue-green-deploy/references/details.md +90 -0
- package/bundled-skills/bug-bounty/SKILL.md +447 -0
- package/bundled-skills/bug-bounty/references/details.md +1316 -0
- package/bundled-skills/bugcrowd-reporting/SKILL.md +351 -0
- package/bundled-skills/business-continuity/SKILL.md +463 -0
- package/bundled-skills/career-ops/SKILL.md +186 -0
- package/bundled-skills/cdn-setup/SKILL.md +374 -0
- package/bundled-skills/change-management/SKILL.md +438 -0
- package/bundled-skills/change-management/references/details.md +105 -0
- package/bundled-skills/circleci/SKILL.md +475 -0
- package/bundled-skills/cis-benchmarks/SKILL.md +150 -0
- package/bundled-skills/cloudflare-pages/SKILL.md +318 -0
- package/bundled-skills/cloudflare-r2/SKILL.md +353 -0
- package/bundled-skills/cloudflare-workers/SKILL.md +415 -0
- package/bundled-skills/cloudflare-zero-trust/SKILL.md +361 -0
- package/bundled-skills/cloudformation/SKILL.md +461 -0
- package/bundled-skills/constraint-driven-development/SKILL.md +335 -0
- package/bundled-skills/constraint-driven-development/references/floor-guard.md +99 -0
- package/bundled-skills/container-hardening/SKILL.md +126 -0
- package/bundled-skills/container-registries/SKILL.md +435 -0
- package/bundled-skills/container-scanning/SKILL.md +416 -0
- package/bundled-skills/convex-backend/SKILL.md +338 -0
- package/bundled-skills/dast-scanning/SKILL.md +437 -0
- package/bundled-skills/database-backups/SKILL.md +425 -0
- package/bundled-skills/datadog/SKILL.md +487 -0
- package/bundled-skills/dependency-scanning/SKILL.md +457 -0
- package/bundled-skills/devcontainers-nix/SKILL.md +416 -0
- package/bundled-skills/disaster-recovery/SKILL.md +374 -0
- package/bundled-skills/disaster-recovery/references/details.md +219 -0
- package/bundled-skills/dns-management/SKILL.md +375 -0
- package/bundled-skills/docker-compose/SKILL.md +482 -0
- package/bundled-skills/docker-management/SKILL.md +426 -0
- package/bundled-skills/ebpf-observability/SKILL.md +436 -0
- package/bundled-skills/ebpf-observability/references/details.md +542 -0
- package/bundled-skills/elk-stack/SKILL.md +487 -0
- package/bundled-skills/enterprise-vpn-attack/SKILL.md +395 -0
- package/bundled-skills/evidence-hygiene/SKILL.md +404 -0
- package/bundled-skills/feature-flags/SKILL.md +426 -0
- package/bundled-skills/feature-flags/references/details.md +86 -0
- package/bundled-skills/fedramp-compliance/SKILL.md +453 -0
- package/bundled-skills/firebase-app-platform/SKILL.md +381 -0
- package/bundled-skills/firewall-config/SKILL.md +479 -0
- package/bundled-skills/gcp-audit-logs/SKILL.md +452 -0
- package/bundled-skills/gcp-audit-logs/references/details.md +56 -0
- package/bundled-skills/gcp-cloud-functions/SKILL.md +284 -0
- package/bundled-skills/gcp-cloud-sql/SKILL.md +277 -0
- package/bundled-skills/gcp-compute/SKILL.md +319 -0
- package/bundled-skills/gcp-gke/SKILL.md +307 -0
- package/bundled-skills/gcp-networking/SKILL.md +293 -0
- package/bundled-skills/gcp-secret-manager/SKILL.md +421 -0
- package/bundled-skills/gcp-secret-manager/references/details.md +131 -0
- package/bundled-skills/gdpr-compliance/SKILL.md +451 -0
- package/bundled-skills/gdpr-compliance/references/details.md +145 -0
- package/bundled-skills/geo-audit/SKILL.md +368 -0
- package/bundled-skills/geo-brand-mentions/SKILL.md +68 -0
- package/bundled-skills/geo-brand-mentions/references/details.md +471 -0
- package/bundled-skills/geo-citability/SKILL.md +350 -0
- package/bundled-skills/geo-compare/SKILL.md +340 -0
- package/bundled-skills/geo-content/SKILL.md +383 -0
- package/bundled-skills/geo-crawlers/SKILL.md +408 -0
- package/bundled-skills/geo-llmstxt/SKILL.md +464 -0
- package/bundled-skills/geo-platform-optimizer/SKILL.md +314 -0
- package/bundled-skills/geo-proposal/SKILL.md +378 -0
- package/bundled-skills/geo-prospect/SKILL.md +225 -0
- package/bundled-skills/geo-report/SKILL.md +436 -0
- package/bundled-skills/geo-report-pdf/SKILL.md +157 -0
- package/bundled-skills/geo-schema/SKILL.md +408 -0
- package/bundled-skills/geo-technical/SKILL.md +78 -0
- package/bundled-skills/geo-technical/references/details.md +543 -0
- package/bundled-skills/git-workflow/SKILL.md +460 -0
- package/bundled-skills/github-actions/SKILL.md +368 -0
- package/bundled-skills/gitlab-ci/SKILL.md +340 -0
- package/bundled-skills/gpu-kubernetes-operations/SKILL.md +468 -0
- package/bundled-skills/gpu-server-management/SKILL.md +236 -0
- package/bundled-skills/hashicorp-vault/SKILL.md +408 -0
- package/bundled-skills/helm-charts/SKILL.md +469 -0
- package/bundled-skills/hipaa-compliance/SKILL.md +451 -0
- package/bundled-skills/hunt-aspnet/SKILL.md +321 -0
- package/bundled-skills/hunt-ato/SKILL.md +184 -0
- package/bundled-skills/hunt-auth-bypass/SKILL.md +426 -0
- package/bundled-skills/hunt-auth-bypass/references/details.md +80 -0
- package/bundled-skills/hunt-brute-force/SKILL.md +341 -0
- package/bundled-skills/hunt-business-logic/SKILL.md +281 -0
- package/bundled-skills/hunt-cache-poison/SKILL.md +382 -0
- package/bundled-skills/hunt-captcha-bypass/SKILL.md +136 -0
- package/bundled-skills/hunt-cicd/SKILL.md +311 -0
- package/bundled-skills/hunt-clickjacking/SKILL.md +110 -0
- package/bundled-skills/hunt-cors/SKILL.md +335 -0
- package/bundled-skills/hunt-dom/SKILL.md +323 -0
- package/bundled-skills/hunt-exceptional-conditions/SKILL.md +111 -0
- package/bundled-skills/hunt-file-upload/SKILL.md +202 -0
- package/bundled-skills/hunt-fintech-graphql/SKILL.md +289 -0
- package/bundled-skills/hunt-forgot-password/SKILL.md +114 -0
- package/bundled-skills/hunt-grpc/SKILL.md +317 -0
- package/bundled-skills/hunt-host-header/SKILL.md +309 -0
- package/bundled-skills/hunt-html-injection/SKILL.md +106 -0
- package/bundled-skills/hunt-http-smuggling/SKILL.md +129 -0
- package/bundled-skills/hunt-http-smuggling/references/phase2h-smuggling-cachepoison.md +177 -0
- package/bundled-skills/hunt-idor/SKILL.md +434 -0
- package/bundled-skills/hunt-jwt-crypto/SKILL.md +221 -0
- package/bundled-skills/hunt-k8s/SKILL.md +337 -0
- package/bundled-skills/hunt-laravel/SKILL.md +255 -0
- package/bundled-skills/hunt-ldap/SKILL.md +351 -0
- package/bundled-skills/hunt-lfi/SKILL.md +311 -0
- package/bundled-skills/hunt-llm-ai/SKILL.md +289 -0
- package/bundled-skills/hunt-mfa-bypass/SKILL.md +177 -0
- package/bundled-skills/hunt-misc/SKILL.md +378 -0
- package/bundled-skills/hunt-nextjs/SKILL.md +299 -0
- package/bundled-skills/hunt-nodejs/SKILL.md +263 -0
- package/bundled-skills/hunt-nosqli/SKILL.md +210 -0
- package/bundled-skills/hunt-ntlm-info/SKILL.md +314 -0
- package/bundled-skills/hunt-oauth/SKILL.md +459 -0
- package/bundled-skills/hunt-open-redirect/SKILL.md +223 -0
- package/bundled-skills/hunt-race-condition/SKILL.md +381 -0
- package/bundled-skills/hunt-race-condition/references/details.md +159 -0
- package/bundled-skills/hunt-rag-vector/SKILL.md +212 -0
- package/bundled-skills/hunt-rce/SKILL.md +444 -0
- package/bundled-skills/hunt-rce/references/details.md +110 -0
- package/bundled-skills/hunt-saml/SKILL.md +156 -0
- package/bundled-skills/hunt-session/SKILL.md +342 -0
- package/bundled-skills/hunt-shadow-api/SKILL.md +198 -0
- package/bundled-skills/hunt-source-leak/SKILL.md +345 -0
- package/bundled-skills/hunt-spa-api/SKILL.md +163 -0
- package/bundled-skills/hunt-springboot/SKILL.md +285 -0
- package/bundled-skills/hunt-sqli/SKILL.md +466 -0
- package/bundled-skills/hunt-ssrf/SKILL.md +396 -0
- package/bundled-skills/hunt-ssrf/references/details.md +179 -0
- package/bundled-skills/hunt-ssti/SKILL.md +163 -0
- package/bundled-skills/hunt-subdomain/SKILL.md +379 -0
- package/bundled-skills/hunt-tls-network/SKILL.md +399 -0
- package/bundled-skills/hunt-xxe/SKILL.md +466 -0
- package/bundled-skills/i-have-adhd/SKILL.md +170 -0
- package/bundled-skills/identity-access-management/SKILL.md +382 -0
- package/bundled-skills/identity-access-management/references/details.md +524 -0
- package/bundled-skills/incident-management/SKILL.md +484 -0
- package/bundled-skills/incident-response/SKILL.md +448 -0
- package/bundled-skills/incident-response/references/details.md +113 -0
- package/bundled-skills/interview-me/SKILL.md +248 -0
- package/bundled-skills/iso27001-compliance/SKILL.md +460 -0
- package/bundled-skills/jenkins/SKILL.md +462 -0
- package/bundled-skills/jev-use/SKILL.md +158 -0
- package/bundled-skills/kubernetes-hardening/SKILL.md +154 -0
- package/bundled-skills/kubernetes-ops/SKILL.md +449 -0
- package/bundled-skills/kubernetes-ops/references/details.md +108 -0
- package/bundled-skills/kustomize/SKILL.md +478 -0
- package/bundled-skills/linux-administration/SKILL.md +367 -0
- package/bundled-skills/linux-hardening/SKILL.md +154 -0
- package/bundled-skills/llm-app-security/SKILL.md +389 -0
- package/bundled-skills/llm-app-security/references/details.md +674 -0
- package/bundled-skills/llm-caching/SKILL.md +334 -0
- package/bundled-skills/llm-cost-optimization/SKILL.md +311 -0
- package/bundled-skills/llm-fine-tuning/SKILL.md +329 -0
- package/bundled-skills/llm-gateway/SKILL.md +282 -0
- package/bundled-skills/llm-inference-scaling/SKILL.md +286 -0
- package/bundled-skills/llmops-platform-engineering/SKILL.md +472 -0
- package/bundled-skills/load-balancing/SKILL.md +403 -0
- package/bundled-skills/loki-logging/SKILL.md +479 -0
- package/bundled-skills/m365-entra-attack/SKILL.md +423 -0
- package/bundled-skills/mac-mini-llm-lab/SKILL.md +350 -0
- package/bundled-skills/mcp-server-security/SKILL.md +356 -0
- package/bundled-skills/mcp-server-security/references/details.md +745 -0
- package/bundled-skills/mdm-device-management/SKILL.md +404 -0
- package/bundled-skills/mdm-device-management/references/details.md +410 -0
- package/bundled-skills/meme-coin-audit/SKILL.md +402 -0
- package/bundled-skills/mid-engagement-ir-detection/SKILL.md +377 -0
- package/bundled-skills/model-registry-governance/SKILL.md +452 -0
- package/bundled-skills/model-serving-kubernetes/SKILL.md +339 -0
- package/bundled-skills/model-supply-chain-security/SKILL.md +427 -0
- package/bundled-skills/mongodb/SKILL.md +436 -0
- package/bundled-skills/multi-tenant-llm-hosting/SKILL.md +435 -0
- package/bundled-skills/multi-tenant-llm-hosting/references/details.md +211 -0
- package/bundled-skills/mysql/SKILL.md +390 -0
- package/bundled-skills/new-relic/SKILL.md +472 -0
- package/bundled-skills/nfs-storage/SKILL.md +356 -0
- package/bundled-skills/object-storage/SKILL.md +378 -0
- package/bundled-skills/offensive-osint/SKILL.md +443 -0
- package/bundled-skills/okta-attack/SKILL.md +436 -0
- package/bundled-skills/ollama-stack/SKILL.md +379 -0
- package/bundled-skills/openclaw-deployment-hardening/SKILL.md +135 -0
- package/bundled-skills/openclaw-local-mac-mini/SKILL.md +426 -0
- package/bundled-skills/openclaw-local-mac-mini/references/details.md +221 -0
- package/bundled-skills/openclaw-security-hardening/SKILL.md +135 -0
- package/bundled-skills/openshift/SKILL.md +485 -0
- package/bundled-skills/opentelemetry/SKILL.md +438 -0
- package/bundled-skills/opentelemetry/references/details.md +78 -0
- package/bundled-skills/opentofu-migration/SKILL.md +349 -0
- package/bundled-skills/osint-methodology/SKILL.md +460 -0
- package/bundled-skills/osint-methodology/references/details.md +1350 -0
- package/bundled-skills/pci-dss-compliance/SKILL.md +446 -0
- package/bundled-skills/penetration-testing/SKILL.md +152 -0
- package/bundled-skills/performance-tuning/SKILL.md +381 -0
- package/bundled-skills/planetscale/SKILL.md +297 -0
- package/bundled-skills/platform-engineering/SKILL.md +348 -0
- package/bundled-skills/platform-engineering/references/details.md +944 -0
- package/bundled-skills/podman/SKILL.md +405 -0
- package/bundled-skills/policy-as-code/SKILL.md +434 -0
- package/bundled-skills/policy-as-code/references/details.md +204 -0
- package/bundled-skills/postgresql-devsec/SKILL.md +378 -0
- package/bundled-skills/prometheus-grafana/SKILL.md +469 -0
- package/bundled-skills/prompt-injection-defense/SKILL.md +483 -0
- package/bundled-skills/rag-infrastructure/SKILL.md +269 -0
- package/bundled-skills/rag-observability-evals/SKILL.md +444 -0
- package/bundled-skills/rag-observability-evals/references/details.md +92 -0
- package/bundled-skills/recon-scope-triage/SKILL.md +128 -0
- package/bundled-skills/redis/SKILL.md +421 -0
- package/bundled-skills/redteam-report-template/SKILL.md +370 -0
- package/bundled-skills/report-writing/SKILL.md +426 -0
- package/bundled-skills/report-writing/references/details.md +187 -0
- package/bundled-skills/reverse-proxy/SKILL.md +420 -0
- package/bundled-skills/runbook-creation/SKILL.md +438 -0
- package/bundled-skills/runbook-creation/references/details.md +71 -0
- package/bundled-skills/saas-security-posture/SKILL.md +415 -0
- package/bundled-skills/sast-scanning/SKILL.md +444 -0
- package/bundled-skills/sbom-supply-chain/SKILL.md +433 -0
- package/bundled-skills/security-arsenal/SKILL.md +446 -0
- package/bundled-skills/security-arsenal/references/details.md +540 -0
- package/bundled-skills/security-automation/SKILL.md +146 -0
- package/bundled-skills/semantic-versioning/SKILL.md +434 -0
- package/bundled-skills/semantic-versioning/references/details.md +83 -0
- package/bundled-skills/service-mesh/SKILL.md +422 -0
- package/bundled-skills/soc2-compliance/SKILL.md +409 -0
- package/bundled-skills/sops-encryption/SKILL.md +124 -0
- package/bundled-skills/sre-dashboards/SKILL.md +143 -0
- package/bundled-skills/ssh-configuration/SKILL.md +324 -0
- package/bundled-skills/ssl-tls-management/SKILL.md +428 -0
- package/bundled-skills/ssl-tls-management/references/details.md +99 -0
- package/bundled-skills/startup-it-troubleshooting/SKILL.md +415 -0
- package/bundled-skills/supply-chain-attack-recon/SKILL.md +453 -0
- package/bundled-skills/supply-chain-attack-recon/references/details.md +258 -0
- package/bundled-skills/systemd-services/SKILL.md +379 -0
- package/bundled-skills/terraform-aws/SKILL.md +125 -0
- package/bundled-skills/terraform-azure/SKILL.md +415 -0
- package/bundled-skills/terraform-azure/references/details.md +231 -0
- package/bundled-skills/terraform-gcp/SKILL.md +369 -0
- package/bundled-skills/threat-modeling/SKILL.md +487 -0
- package/bundled-skills/user-management/SKILL.md +383 -0
- package/bundled-skills/using-agent-skills/SKILL.md +220 -0
- package/bundled-skills/vector-database-ops/SKILL.md +300 -0
- package/bundled-skills/vendor-management/SKILL.md +439 -0
- package/bundled-skills/vendor-management/references/details.md +109 -0
- package/bundled-skills/vercel-deployments/SKILL.md +296 -0
- package/bundled-skills/vllm-server/SKILL.md +236 -0
- package/bundled-skills/vmware-vcenter-attack/SKILL.md +412 -0
- package/bundled-skills/vpn-setup/SKILL.md +452 -0
- package/bundled-skills/vulnerability-scanning/SKILL.md +448 -0
- package/bundled-skills/waf-setup/SKILL.md +354 -0
- package/bundled-skills/waf-setup/references/details.md +211 -0
- package/bundled-skills/web2-recon/SKILL.md +440 -0
- package/bundled-skills/web2-recon/references/details.md +319 -0
- package/bundled-skills/web3-audit/SKILL.md +445 -0
- package/bundled-skills/web3-audit/references/details.md +224 -0
- package/bundled-skills/windows-hardening/SKILL.md +454 -0
- package/bundled-skills/windows-hardening/references/details.md +204 -0
- package/bundled-skills/windows-server/SKILL.md +318 -0
- package/bundled-skills/zero-trust/SKILL.md +461 -0
- package/package.json +1 -1
- package/skills_index.json +6943 -323
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: dependency-scanning
|
|
3
|
+
description: Scan package dependencies for known vulnerabilities using Snyk, Dependabot,
|
|
4
|
+
and OWASP Dependency-Check.
|
|
5
|
+
category: security
|
|
6
|
+
risk: safe
|
|
7
|
+
source: https://github.com/BagelHole/DevOps-Security-Agent-Skills
|
|
8
|
+
source_repo: BagelHole/DevOps-Security-Agent-Skills
|
|
9
|
+
source_type: community
|
|
10
|
+
date_added: '2026-09-20'
|
|
11
|
+
license: MIT
|
|
12
|
+
license_source: https://github.com/BagelHole/DevOps-Security-Agent-Skills/blob/main/LICENSE
|
|
13
|
+
compatibility: Requires the relevant security tooling (scanners, vault CLIs) and an
|
|
14
|
+
authorized scope for any active assessment. Docs-only; helper scripts and templates
|
|
15
|
+
not bundled.
|
|
16
|
+
metadata:
|
|
17
|
+
author: devops-skills
|
|
18
|
+
version: '1.0'
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# Dependency Scanning
|
|
22
|
+
|
|
23
|
+
Identify vulnerabilities in third-party dependencies and libraries.
|
|
24
|
+
|
|
25
|
+
## When to Use This Skill
|
|
26
|
+
|
|
27
|
+
Use this skill when:
|
|
28
|
+
- Managing third-party dependencies
|
|
29
|
+
- Implementing software composition analysis
|
|
30
|
+
- Meeting compliance requirements
|
|
31
|
+
- Securing the software supply chain
|
|
32
|
+
- Automating vulnerability detection
|
|
33
|
+
|
|
34
|
+
## Prerequisites
|
|
35
|
+
|
|
36
|
+
- Package manifest files (package.json, requirements.txt, etc.)
|
|
37
|
+
- CI/CD pipeline access
|
|
38
|
+
- Dependency scanning tool
|
|
39
|
+
|
|
40
|
+
## Tool Comparison
|
|
41
|
+
|
|
42
|
+
| Tool | Type | Languages | Best For |
|
|
43
|
+
|------|------|-----------|----------|
|
|
44
|
+
| Snyk | Commercial/Free | Many | Comprehensive SCA |
|
|
45
|
+
| Dependabot | Free (GitHub) | Many | Automated PRs |
|
|
46
|
+
| OWASP Dep-Check | OSS | Many | Free scanning |
|
|
47
|
+
| npm audit | Built-in | Node.js | Quick checks |
|
|
48
|
+
| pip-audit | OSS | Python | Python projects |
|
|
49
|
+
| Trivy | OSS | Many | Container deps |
|
|
50
|
+
|
|
51
|
+
## Snyk
|
|
52
|
+
|
|
53
|
+
### CLI Usage
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
# Install
|
|
57
|
+
npm install -g snyk
|
|
58
|
+
|
|
59
|
+
# Authenticate
|
|
60
|
+
snyk auth
|
|
61
|
+
|
|
62
|
+
# Test project
|
|
63
|
+
snyk test
|
|
64
|
+
|
|
65
|
+
# Monitor project (track over time)
|
|
66
|
+
snyk monitor
|
|
67
|
+
|
|
68
|
+
# Test specific manifest
|
|
69
|
+
snyk test --file=package.json
|
|
70
|
+
snyk test --file=requirements.txt
|
|
71
|
+
|
|
72
|
+
# Output formats
|
|
73
|
+
snyk test --json > snyk-results.json
|
|
74
|
+
snyk test --sarif > snyk-results.sarif
|
|
75
|
+
|
|
76
|
+
# Fix vulnerabilities
|
|
77
|
+
snyk fix
|
|
78
|
+
|
|
79
|
+
# Ignore vulnerability
|
|
80
|
+
snyk ignore --id=SNYK-JS-LODASH-567746 --expiry=2024-12-31 --reason="No exploit path"
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### CI Integration
|
|
84
|
+
|
|
85
|
+
```yaml
|
|
86
|
+
# .github/workflows/snyk.yml
|
|
87
|
+
name: Snyk Security
|
|
88
|
+
|
|
89
|
+
on:
|
|
90
|
+
push:
|
|
91
|
+
branches: [main]
|
|
92
|
+
pull_request:
|
|
93
|
+
|
|
94
|
+
jobs:
|
|
95
|
+
snyk:
|
|
96
|
+
runs-on: ubuntu-latest
|
|
97
|
+
steps:
|
|
98
|
+
- uses: actions/checkout@v4
|
|
99
|
+
|
|
100
|
+
- name: Run Snyk to check for vulnerabilities
|
|
101
|
+
uses: snyk/actions/node@master
|
|
102
|
+
env:
|
|
103
|
+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
|
104
|
+
with:
|
|
105
|
+
args: --severity-threshold=high
|
|
106
|
+
|
|
107
|
+
- name: Upload results to GitHub
|
|
108
|
+
uses: github/codeql-action/upload-sarif@v3
|
|
109
|
+
with:
|
|
110
|
+
sarif_file: snyk.sarif
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Policy File
|
|
114
|
+
|
|
115
|
+
```yaml
|
|
116
|
+
# .snyk
|
|
117
|
+
version: v1.25.0
|
|
118
|
+
ignore:
|
|
119
|
+
SNYK-JS-LODASH-567746:
|
|
120
|
+
- '*':
|
|
121
|
+
reason: No user input reaches this function
|
|
122
|
+
expires: 2024-12-31
|
|
123
|
+
created: 2024-01-15
|
|
124
|
+
|
|
125
|
+
'snyk:lic:npm:gpl-3.0':
|
|
126
|
+
- '*':
|
|
127
|
+
reason: Internal use only
|
|
128
|
+
|
|
129
|
+
patch: {}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
## GitHub Dependabot
|
|
133
|
+
|
|
134
|
+
### Configuration
|
|
135
|
+
|
|
136
|
+
```yaml
|
|
137
|
+
# .github/dependabot.yml
|
|
138
|
+
version: 2
|
|
139
|
+
updates:
|
|
140
|
+
# JavaScript/Node.js
|
|
141
|
+
- package-ecosystem: "npm"
|
|
142
|
+
directory: "/"
|
|
143
|
+
schedule:
|
|
144
|
+
interval: "weekly"
|
|
145
|
+
day: "monday"
|
|
146
|
+
open-pull-requests-limit: 10
|
|
147
|
+
reviewers:
|
|
148
|
+
- "security-team"
|
|
149
|
+
labels:
|
|
150
|
+
- "dependencies"
|
|
151
|
+
- "security"
|
|
152
|
+
ignore:
|
|
153
|
+
- dependency-name: "aws-sdk"
|
|
154
|
+
update-types: ["version-update:semver-major"]
|
|
155
|
+
groups:
|
|
156
|
+
development-dependencies:
|
|
157
|
+
dependency-type: "development"
|
|
158
|
+
update-types:
|
|
159
|
+
- "minor"
|
|
160
|
+
- "patch"
|
|
161
|
+
|
|
162
|
+
# Python
|
|
163
|
+
- package-ecosystem: "pip"
|
|
164
|
+
directory: "/"
|
|
165
|
+
schedule:
|
|
166
|
+
interval: "daily"
|
|
167
|
+
|
|
168
|
+
# Docker
|
|
169
|
+
- package-ecosystem: "docker"
|
|
170
|
+
directory: "/"
|
|
171
|
+
schedule:
|
|
172
|
+
interval: "weekly"
|
|
173
|
+
|
|
174
|
+
# GitHub Actions
|
|
175
|
+
- package-ecosystem: "github-actions"
|
|
176
|
+
directory: "/"
|
|
177
|
+
schedule:
|
|
178
|
+
interval: "weekly"
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
### Security Alerts
|
|
182
|
+
|
|
183
|
+
```yaml
|
|
184
|
+
# Automated security updates
|
|
185
|
+
# Enable in repository Settings > Security > Dependabot
|
|
186
|
+
|
|
187
|
+
# Dependabot will automatically:
|
|
188
|
+
# - Create PRs for vulnerable dependencies
|
|
189
|
+
# - Update to patched versions
|
|
190
|
+
# - Provide CVE details in PR description
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
## OWASP Dependency-Check
|
|
194
|
+
|
|
195
|
+
### Installation
|
|
196
|
+
|
|
197
|
+
```bash
|
|
198
|
+
# Download
|
|
199
|
+
wget https://github.com/jeremylong/DependencyCheck/releases/download/v9.0.0/dependency-check-9.0.0-release.zip
|
|
200
|
+
unzip dependency-check-9.0.0-release.zip
|
|
201
|
+
|
|
202
|
+
# Or via Homebrew
|
|
203
|
+
brew install dependency-check
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### Usage
|
|
207
|
+
|
|
208
|
+
```bash
|
|
209
|
+
# Scan project
|
|
210
|
+
dependency-check --project "MyProject" \
|
|
211
|
+
--scan /path/to/project \
|
|
212
|
+
--out /path/to/reports \
|
|
213
|
+
--format HTML \
|
|
214
|
+
--format JSON
|
|
215
|
+
|
|
216
|
+
# With specific analyzers
|
|
217
|
+
dependency-check --project "MyProject" \
|
|
218
|
+
--scan . \
|
|
219
|
+
--enableExperimental \
|
|
220
|
+
--disableRetireJS
|
|
221
|
+
|
|
222
|
+
# CI configuration
|
|
223
|
+
dependency-check --project "MyProject" \
|
|
224
|
+
--scan . \
|
|
225
|
+
--format JSON \
|
|
226
|
+
--failOnCVSS 7 \
|
|
227
|
+
--suppression suppression.xml
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### Suppression File
|
|
231
|
+
|
|
232
|
+
```xml
|
|
233
|
+
<!-- suppression.xml -->
|
|
234
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
235
|
+
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
|
|
236
|
+
<suppress>
|
|
237
|
+
<notes>False positive - not using vulnerable function</notes>
|
|
238
|
+
<packageUrl regex="true">^pkg:npm/lodash@.*$</packageUrl>
|
|
239
|
+
<cve>CVE-2021-23337</cve>
|
|
240
|
+
</suppress>
|
|
241
|
+
|
|
242
|
+
<suppress until="2024-12-31">
|
|
243
|
+
<notes>Risk accepted - mitigated by WAF</notes>
|
|
244
|
+
<cpe>cpe:/a:apache:struts:2.5.0</cpe>
|
|
245
|
+
<vulnerabilityName>CVE-2023-12345</vulnerabilityName>
|
|
246
|
+
</suppress>
|
|
247
|
+
</suppressions>
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
### Maven Integration
|
|
251
|
+
|
|
252
|
+
```xml
|
|
253
|
+
<!-- pom.xml -->
|
|
254
|
+
<plugin>
|
|
255
|
+
<groupId>org.owasp</groupId>
|
|
256
|
+
<artifactId>dependency-check-maven</artifactId>
|
|
257
|
+
<version>9.0.0</version>
|
|
258
|
+
<configuration>
|
|
259
|
+
<failBuildOnCVSS>7</failBuildOnCVSS>
|
|
260
|
+
<suppressionFiles>
|
|
261
|
+
<suppressionFile>suppression.xml</suppressionFile>
|
|
262
|
+
</suppressionFiles>
|
|
263
|
+
</configuration>
|
|
264
|
+
<executions>
|
|
265
|
+
<execution>
|
|
266
|
+
<goals>
|
|
267
|
+
<goal>check</goal>
|
|
268
|
+
</goals>
|
|
269
|
+
</execution>
|
|
270
|
+
</executions>
|
|
271
|
+
</plugin>
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
## Language-Specific Tools
|
|
275
|
+
|
|
276
|
+
### Node.js (npm audit)
|
|
277
|
+
|
|
278
|
+
```bash
|
|
279
|
+
# Run audit
|
|
280
|
+
npm audit
|
|
281
|
+
|
|
282
|
+
# JSON output
|
|
283
|
+
npm audit --json
|
|
284
|
+
|
|
285
|
+
# Fix automatically
|
|
286
|
+
npm audit fix
|
|
287
|
+
|
|
288
|
+
# Fix with breaking changes
|
|
289
|
+
npm audit fix --force
|
|
290
|
+
|
|
291
|
+
# Production only
|
|
292
|
+
npm audit --production
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
### Python (pip-audit)
|
|
296
|
+
|
|
297
|
+
```bash
|
|
298
|
+
# Install
|
|
299
|
+
pip install pip-audit
|
|
300
|
+
|
|
301
|
+
# Scan installed packages
|
|
302
|
+
pip-audit
|
|
303
|
+
|
|
304
|
+
# Scan requirements file
|
|
305
|
+
pip-audit -r requirements.txt
|
|
306
|
+
|
|
307
|
+
# Output formats
|
|
308
|
+
pip-audit --format json
|
|
309
|
+
pip-audit --format cyclonedx-json
|
|
310
|
+
|
|
311
|
+
# Fix vulnerabilities
|
|
312
|
+
pip-audit --fix
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
### Go (govulncheck)
|
|
316
|
+
|
|
317
|
+
```bash
|
|
318
|
+
# Install
|
|
319
|
+
go install golang.org/x/vuln/cmd/govulncheck@latest
|
|
320
|
+
|
|
321
|
+
# Scan project
|
|
322
|
+
govulncheck ./...
|
|
323
|
+
|
|
324
|
+
# JSON output
|
|
325
|
+
govulncheck -json ./...
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
### Ruby (bundler-audit)
|
|
329
|
+
|
|
330
|
+
```bash
|
|
331
|
+
# Install
|
|
332
|
+
gem install bundler-audit
|
|
333
|
+
|
|
334
|
+
# Update database
|
|
335
|
+
bundle-audit update
|
|
336
|
+
|
|
337
|
+
# Run audit
|
|
338
|
+
bundle-audit check
|
|
339
|
+
|
|
340
|
+
# Output format
|
|
341
|
+
bundle-audit check --format json
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
## SBOM Generation
|
|
345
|
+
|
|
346
|
+
### CycloneDX
|
|
347
|
+
|
|
348
|
+
```bash
|
|
349
|
+
# Node.js
|
|
350
|
+
npx @cyclonedx/cyclonedx-npm --output-file sbom.json
|
|
351
|
+
|
|
352
|
+
# Python
|
|
353
|
+
pip install cyclonedx-bom
|
|
354
|
+
cyclonedx-py -o sbom.json
|
|
355
|
+
|
|
356
|
+
# Go
|
|
357
|
+
go install github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@latest
|
|
358
|
+
cyclonedx-gomod mod -json > sbom.json
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
### Syft
|
|
362
|
+
|
|
363
|
+
```bash
|
|
364
|
+
# Install
|
|
365
|
+
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh -o /tmp/install-syft.sh && sh /tmp/install-syft.sh && rm /tmp/install-syft.sh -s
|
|
366
|
+
|
|
367
|
+
# Generate SBOM
|
|
368
|
+
syft dir:/path/to/project -o cyclonedx-json > sbom.json
|
|
369
|
+
syft dir:/path/to/project -o spdx-json > sbom-spdx.json
|
|
370
|
+
|
|
371
|
+
# From container
|
|
372
|
+
syft myimage:latest -o cyclonedx-json > sbom.json
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
## CI/CD Pipeline
|
|
376
|
+
|
|
377
|
+
```yaml
|
|
378
|
+
# Comprehensive dependency scanning
|
|
379
|
+
name: Dependency Security
|
|
380
|
+
|
|
381
|
+
on:
|
|
382
|
+
push:
|
|
383
|
+
branches: [main]
|
|
384
|
+
pull_request:
|
|
385
|
+
schedule:
|
|
386
|
+
- cron: '0 8 * * *'
|
|
387
|
+
|
|
388
|
+
jobs:
|
|
389
|
+
scan:
|
|
390
|
+
runs-on: ubuntu-latest
|
|
391
|
+
steps:
|
|
392
|
+
- uses: actions/checkout@v4
|
|
393
|
+
|
|
394
|
+
- name: npm audit
|
|
395
|
+
run: npm audit --audit-level=high
|
|
396
|
+
|
|
397
|
+
- name: Snyk scan
|
|
398
|
+
uses: snyk/actions/node@master
|
|
399
|
+
env:
|
|
400
|
+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
|
401
|
+
with:
|
|
402
|
+
args: --severity-threshold=high
|
|
403
|
+
|
|
404
|
+
- name: Generate SBOM
|
|
405
|
+
run: npx @cyclonedx/cyclonedx-npm --output-file sbom.json
|
|
406
|
+
|
|
407
|
+
- name: Upload SBOM
|
|
408
|
+
uses: actions/upload-artifact@v4
|
|
409
|
+
with:
|
|
410
|
+
name: sbom
|
|
411
|
+
path: sbom.json
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
## Common Issues
|
|
415
|
+
|
|
416
|
+
### Issue: Too Many Alerts
|
|
417
|
+
**Problem**: Overwhelmed by vulnerability count
|
|
418
|
+
**Solution**: Prioritize by exploitability, filter by severity
|
|
419
|
+
|
|
420
|
+
### Issue: No Fix Available
|
|
421
|
+
**Problem**: Vulnerable dependency has no patch
|
|
422
|
+
**Solution**: Consider alternatives, implement compensating controls
|
|
423
|
+
|
|
424
|
+
### Issue: Breaking Updates
|
|
425
|
+
**Problem**: Security fix breaks functionality
|
|
426
|
+
**Solution**: Review changelogs, test thoroughly, use lockfiles
|
|
427
|
+
|
|
428
|
+
## Best Practices
|
|
429
|
+
|
|
430
|
+
- Scan on every build
|
|
431
|
+
- Use lockfiles for reproducibility
|
|
432
|
+
- Set severity thresholds
|
|
433
|
+
- Generate and track SBOMs
|
|
434
|
+
- Document exceptions properly
|
|
435
|
+
- Update dependencies regularly
|
|
436
|
+
- Monitor for new vulnerabilities
|
|
437
|
+
- Automate PR creation for updates
|
|
438
|
+
|
|
439
|
+
## Related Skills
|
|
440
|
+
|
|
441
|
+
- sast-scanning (`sast-scanning`) - Code vulnerabilities
|
|
442
|
+
- container-scanning (`container-scanning`) - Container dependencies
|
|
443
|
+
- github-actions (`github-actions`) - CI integration
|
|
444
|
+
|
|
445
|
+
## Limitations
|
|
446
|
+
|
|
447
|
+
- Apply guidance only within authorized scope; test destructive steps in non-production first.
|
|
448
|
+
- Docs-only import: upstream scripts and templates not bundled.
|
|
449
|
+
|
|
450
|
+
### Example
|
|
451
|
+
|
|
452
|
+
```bash
|
|
453
|
+
# Read-only first: inventory before any active step.
|
|
454
|
+
which <tool> && <tool> --help | head -n 20
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
> Adapted from [BagelHole/DevOps-Security-Agent-Skills](https://github.com/BagelHole/DevOps-Security-Agent-Skills) (MIT); frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance. Docs-only import: helper scripts and templates not bundled.
|