Software Composition Analysis (SCA) using Synopsys Black Duck for identifying open source vulnerabilities, license compliance risks, and supply chain security threats with CVE, CWE, and OWASP framework mapping. Use when: (1) Scanning dependencies for known vulnerabilities and security risks, (2) Analyzing open source license compliance and legal risks, (3) Identifying outdated or unmaintained dependencies, (4) Integrating SCA into CI/CD pipelines for continuous dependency monitoring, (5) Providing remediation guidance for vulnerable dependencies with CVE and CWE mappings, (6) Assessing supply chain security risks and third-party component threats.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Software Composition Analysis (SCA) using Synopsys Black Duck for identifying open source vulnerabilities, license compliance risks, and supply chain security threats with CVE, CWE, and OWASP framework mapping. Use when: (1) Scanning dependencies for known vulnerabilities and security risks, (2) Analyzing open source license compliance and legal risks, (3) Identifying outdated or unmaintained dependencies, (4) Integrating SCA into CI/CD pipelines for continuous dependency monitoring, (5) Providing remediation guidance for vulnerable dependencies with CVE and CWE mappings, (6) Assessing supply chain security risks and third-party component threats.
Perform comprehensive Software Composition Analysis (SCA) using Synopsys Black Duck to identify
security vulnerabilities, license compliance risks, and supply chain threats in open source
dependencies. This skill provides automated dependency scanning, vulnerability detection with
CVE mapping, license risk analysis, and remediation guidance aligned with OWASP and NIST standards.
Quick Start
Scan a project for dependency vulnerabilities:
# Using Black Duck Detect (recommended)
bash <(curl -s -L https://detect.synopsys.com/detect.sh) \
--blackduck.url=$BLACKDUCK_URL \
--blackduck.api.token=$BLACKDUCK_TOKEN \
--detect.project.name="MyProject" \
--detect.project.version.name="1.0.0"
Flag high-risk components (unmaintained, few maintainers, security issues)
Review alternative components with better security posture
Document supply chain risks and mitigation strategies
Security Considerations
Sensitive Data Handling: Black Duck scans require API tokens with read/write access.
Store credentials securely in secrets management (Vault, AWS Secrets Manager).
Never commit tokens to version control.
Access Control: Limit Black Duck access to authorized security and development teams.
Use role-based access control (RBAC) for scan result visibility and policy management.
Audit Logging: Log all scan executions with timestamps, user, project version, and
findings count for compliance auditing. Enable Black Duck's built-in audit trail.
Compliance: SCA scanning supports SOC2, PCI-DSS, GDPR, and HIPAA compliance by
tracking third-party component risks. Generate SBOM for regulatory requirements.
Safe Defaults: Configure policies to fail builds on CRITICAL and HIGH severity
vulnerabilities. Use allowlists sparingly with documented business justification.
Supported Package Managers
Black Duck Detect automatically identifies and scans:
JavaScript/Node: npm, yarn, pnpm
Python: pip, pipenv, poetry
Java: Maven, Gradle
Ruby: Bundler, gem
.NET: NuGet
Go: go modules
PHP: Composer
Rust: Cargo
C/C++: Conan, vcpkg
Docker: Container image layers
Bundled Resources
Scripts
scripts/blackduck_scan.py - Full-featured scanning with CVE/CWE mapping and reporting
scripts/analyze_results.py - Parse Black Duck results and generate remediation report
scripts/sbom_generator.sh - Generate SBOM (CycloneDX/SPDX) from scan results
scripts/policy_checker.py - Validate compliance with organizational security policies
References
references/cve_cwe_owasp_mapping.md - CVE to CWE and OWASP Top 10 mapping
references/remediation_strategies.md - Vulnerability remediation patterns and upgrade strategies
references/license_risk_guide.md - License compliance risk assessment and legal guidance
references/supply_chain_threats.md - Common supply chain attack patterns and mitigations
Assets
assets/ci_integration/github_actions.yml - GitHub Actions workflow for Black Duck scanning
assets/ci_integration/gitlab_ci.yml - GitLab CI configuration for SCA
assets/ci_integration/jenkins_pipeline.groovy - Jenkins pipeline with Black Duck integration
assets/policy_templates/ - Pre-configured security and compliance policies
assets/blackduck_config.yml - Recommended Black Duck Detect configuration
Common Patterns
Pattern 1: Daily Dependency Security Baseline
# Run comprehensive scan and generate SBOM
scripts/blackduck_scan.py \
--project "MyApp" \
--version "1.0.0" \
--output results.json \
--generate-sbom \
--severity CRITICAL HIGH