Guides automated security scanning for dependencies, secrets, CVEs, and license compliance using npm audit, Snyk, gitleaks, Trivy. Use for audits, vulnerability scans, secret detection.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin asiaostrich-universal-dev-standardsThis skill is limited to using the following tools:
Automate security scanning for dependencies, secrets, and license compliance.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Automate security scanning for dependencies, secrets, and license compliance.
自動化相依套件、機密資訊和授權合規的安全掃描。
| Type | Tool Examples | Purpose | 用途 |
|---|---|---|---|
| Dependency audit | npm audit, pip-audit, Snyk | Find known CVEs in dependencies | 檢測相依套件已知 CVE |
| Secret detection | gitleaks, trufflehog | Find leaked credentials in code | 偵測程式碼中洩漏的憑證 |
| License compliance | license-checker, SPDX | Verify OSS license compatibility | 驗證開源授權相容性 |
| SAST | Semgrep, CodeQL | Static analysis for code patterns | 靜態分析程式碼模式 |
| Tool | Command | Scope | 範圍 |
|---|---|---|---|
| npm audit | npm audit --json | Node.js dependencies | Node.js 相依套件 |
| Snyk | npx snyk test | Multi-language deps | 多語言相依套件 |
| Trivy | trivy fs . | Filesystem & containers | 檔案系統與容器 |
| gitleaks | gitleaks detect | Git history secrets | Git 歷史機密 |
| SPDX | npx spdx-tool | License SBOM generation | 授權 SBOM 產出 |
| Severity | SLA | Criteria | 標準 |
|---|---|---|---|
| Critical | 24 hours | RCE, auth bypass, data exfil | 遠端執行、認證繞過、資料外洩 |
| High | 72 hours | Privilege escalation, SQLi | 權限提升、SQL 注入 |
| Medium | 2 weeks | XSS, CSRF, info disclosure | XSS、CSRF、資訊洩漏 |
| Low | Next sprint | Missing headers, verbose errors | 缺少 Header、冗長錯誤訊息 |
SCAN ──► TRIAGE ──► PRIORITIZE ──► FIX ──► VERIFY
/scan - Full scan (deps + secrets + license) | 完整掃描
/scan --deps - Dependency audit only | 僅相依套件審計
/scan --secrets - Secret detection only | 僅機密偵測
/scan --license - License compliance check | 授權合規檢查
After /scan completes, the AI assistant should suggest:
掃描完成。建議下一步 / Scan complete. Suggested next steps:
- 執行
/security深入安全審查 ⭐ Recommended / 推薦 — Run deep security review- 執行
/checkin確認修復符合提交規範 — Verify fixes meet check-in standards- 執行
/commit提交安全修復 — Commit security fixes- 更新相依套件 →
npm update或pip install --upgrade— Update dependencies
| Version | Date | Changes | 變更說明 |
|---|---|---|---|
| 1.0.0 | 2026-03-23 | Initial release | 初始版本 |
完整的 AI 行為定義請參閱對應的命令文件:
/scanFor complete AI agent behavior definition, see the corresponding command file:
/scan
CC BY 4.0 — Documentation content