GitHub
security-privacydev-tools
Original source

ASH — Automated Security Helper (AWS 安全掃描協調引擎)

Summary

AWS Labs 出品的安全掃描協調引擎,整合多個開源 SAST / SCA / IaC 掃描工具。666 stars, Apache-2.0, Python。v3 完全用 Python 重寫。

內建掃描器

掃描器類型覆蓋範圍
BanditSASTPython
SemgrepSASTPython, JS, TS, Java, Go, C#, Ruby, PHP 等
detect-secretsSecrets所有文字檔
CheckovIaC/SASTTerraform, CFn, K8s, Dockerfile, Helm 等
cfn_nagIaCCloudFormation
cdk-nagIaCCloudFormation
npm-auditSCAJavaScript/Node.js
GrypeSCAPython, JS, Java, Go, Ruby 等
SyftSBOM多語言

執行模式

  • local — 僅 Python 工具,需 Python 3.10+ & UV
  • container — 所有工具(Docker/Finch/Podman)
  • precommit — 快速子集,適合 pre-commit hook

安裝

curl -sSfL https://astral.sh/uv/install.sh | sh
alias ash="uvx git+https://github.com/awslabs/automated-security-helper.git@v3.5.7"
ash --mode local

報告格式

SARIF, JSON, HTML, Markdown, CSV, JUnit XML

亮點

  • 可插拔架構,支援自訂 plugin/scanner/reporter
  • MCP Server 整合 AI 助手(Claude Desktop, Kiro 等)
  • pre-commit hook 支援
  • UV 管理工具隔離,不影響專案依賴
  • 統一輸出格式 + severity threshold 設定