17 lines
344 B
Bash
17 lines
344 B
Bash
#!/bin/bash
|
|
# Security Audit - CVE Remediation Script
|
|
# Auto-remediate known CVEs
|
|
|
|
set -e
|
|
|
|
echo "Scanning for CVEs..."
|
|
npx @claude-flow/cli security cve --scan --severity high
|
|
|
|
echo "Attempting auto-remediation..."
|
|
npm audit fix
|
|
|
|
echo "Re-scanning after remediation..."
|
|
npx @claude-flow/cli security cve --scan
|
|
|
|
echo "CVE remediation complete"
|