library/specializations/code-migration-modernization/skills/vulnerability-scanner/SKILL.md
Security vulnerability scanning for dependencies and code, with CVE database checking and risk assessment
npx skillsauth add a5c-ai/babysitter vulnerability-scannerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Performs comprehensive security vulnerability scanning for dependencies and code, integrating with CVE databases and security platforms to identify, assess, and prioritize security risks for migration planning.
Enable comprehensive security vulnerability detection for:
This skill can leverage the following external tools when available:
| Tool | Purpose | Integration Method | |------|---------|-------------------| | Snyk | Comprehensive vulnerability scanning | CLI / API | | npm audit | Node.js vulnerability scanning | CLI | | OWASP Dependency-Check | Cross-platform scanning | CLI | | Trivy | Container and filesystem scanning | MCP Server / CLI | | Grype | Vulnerability scanner | CLI | | GitHub Dependabot | Advisory checking | API | | OSV Scanner | Google's vulnerability scanner | CLI | | Semgrep | SAST with security rules | CLI | | MCP-Scan | MCP server security | Tool |
# Invoke skill for vulnerability scanning
# The skill will scan dependencies and optionally code
# Expected inputs:
# - targetPath: Path to project root
# - scanScope: 'dependencies' | 'code' | 'full'
# - severityThreshold: 'critical' | 'high' | 'medium' | 'low'
# - outputFormat: 'json' | 'sarif' | 'markdown'
Discovery Phase
Dependency Scanning
Code Scanning (Optional)
Analysis Phase
Report Generation
{
"scanId": "string",
"timestamp": "ISO8601",
"target": {
"path": "string",
"packageManagers": ["string"],
"languages": ["string"]
},
"summary": {
"totalVulnerabilities": "number",
"critical": "number",
"high": "number",
"medium": "number",
"low": "number",
"fixable": "number",
"riskScore": "number (0-100)"
},
"vulnerabilities": [
{
"id": "string (CVE-XXXX-XXXXX)",
"title": "string",
"description": "string",
"severity": "critical|high|medium|low",
"cvss": {
"score": "number",
"vector": "string",
"version": "string"
},
"package": {
"name": "string",
"version": "string",
"ecosystem": "string"
},
"affectedVersions": "string",
"fixedVersions": "string",
"patchAvailable": "boolean",
"exploitability": {
"hasKnownExploit": "boolean",
"exploitMaturity": "string",
"attackVector": "string"
},
"dependencyPath": ["string"],
"references": ["string"],
"remediation": {
"recommendation": "string",
"upgradeTarget": "string",
"alternativePackages": ["string"]
}
}
],
"securityIssues": [
{
"type": "string",
"severity": "string",
"file": "string",
"line": "number",
"description": "string",
"cwe": "string",
"recommendation": "string"
}
],
"compliance": {
"passesPolicy": "boolean",
"violations": ["string"],
"waivers": ["string"]
}
}
This skill integrates with the following Code Migration/Modernization processes:
Create .vulnerability-scanner.json in the project root:
{
"scanScope": "full",
"severityThreshold": "medium",
"failOnSeverity": "critical",
"databases": ["nvd", "ghsa", "osv"],
"excludeVulnerabilities": [],
"waivers": [
{
"id": "CVE-2021-12345",
"reason": "Not exploitable in our context",
"expiresAt": "2026-06-01"
}
],
"policy": {
"maxCritical": 0,
"maxHigh": 5,
"requirePatchWithin": {
"critical": "7d",
"high": "30d",
"medium": "90d"
}
},
"reporting": {
"formats": ["json", "sarif", "markdown"],
"outputDir": "./security-report"
}
}
When MCP-Scan is available:
// Example MCP security scan
{
"tool": "mcp_scan_security",
"arguments": {
"target": "./",
"checks": ["toolPoisoning", "piiDetection", "promptInjection"]
}
}
When Trivy is available:
// Example Trivy vulnerability scan
{
"tool": "trivy_scan",
"arguments": {
"target": "./",
"scanners": ["vuln", "secret"],
"severity": "CRITICAL,HIGH"
}
}
| Database | Coverage | Update Frequency | |----------|----------|------------------| | NVD | All CVEs | Hourly | | GitHub Advisory | Open source packages | Real-time | | OSV | Multi-ecosystem | Real-time | | Snyk DB | Proprietary enrichment | Real-time | | npm Advisory | Node.js packages | Real-time | | RustSec | Rust packages | Real-time |
| CVSS Score | Severity | Action Required | |------------|----------|-----------------| | 9.0 - 10.0 | Critical | Immediate remediation | | 7.0 - 8.9 | High | Priority remediation | | 4.0 - 6.9 | Medium | Scheduled remediation | | 0.1 - 3.9 | Low | Monitor and plan |
dependency-scanner: Dependency inventory and SBOM generationstatic-code-analyzer: Code-level security analysiscompliance-validator: Compliance checkingsecurity-vulnerability-assessor: Uses this skill for security assessmentdependency-modernization-agent: Uses this skill for security updatesmigration-readiness-assessor: Uses this skill for security evaluationdevelopment
Model documentation skill for generating model cards following Google's model card framework.
development
MLflow integration skill for experiment tracking, model registry, and artifact management. Enables LLMs to log experiments, compare runs, manage model lifecycle, and retrieve artifacts through the MLflow API.
data-ai
LIME-based local explanation skill for individual predictions across tabular, text, and image data.
devops
Kubeflow Pipelines skill for ML workflow orchestration, component management, and Kubernetes-native ML.