h7ml/Security Auto Scan

自动扫描和清理 GitHub Actions 中的恶意 workflow 文件

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Oct 8, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: h7ml/security-auto-scan@e9772000157cb7aea836bee84b3d615e9f5cd09b # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenGitHub Token (需要 repo 和 workflow 权限)yes
keyword搜索关键词(恶意特征)no.oast.fun
dry-run仅扫描模式(true/false)nofalse
create-issue发现威胁时创建 Issue(true/false)notrue
disable-workflows禁用受感染仓库的工���流(true/false)nofalse
mask-sensitive-data日志脱敏(自动隐藏敏感信息 - true/false)notrue
encrypt-logs日志加密(加密存储详细日志 - true/false)notrue
verbose详细日志模式(输出详细日志到控制台 - true/false)nofalse
notification-webhookWebhook URL(支持 Slack/Teams/Discord 等)no""
notification-template通知模板(compact/detailed/custom)nodetailed
report-format报告输出格式(markdown/json/html/pdf)nomarkdown
namedescription
infected-repos受感染仓库数量
success-count清理成功数量
failed-count清理���败数量
report-path扫描报告路径