Skip to content

v0.2.2

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Nov 09:06

安装(无需 Go)

从本页 Assets 下载对应平台二进制:

平台 文件
Windows x64 surface-scan_windows_amd64.exe
Linux x64 / arm64 surface-scan_linux_amd64 / surface-scan_linux_arm64
macOS Intel / Apple Silicon surface-scan_darwin_amd64 / surface-scan_darwin_arm64
.\surface-scan_windows_amd64.exe scan . --fail-on high

本版修复(来自真实用户工作区反馈)

  • AGE-001:密钥+URL 模式现在要求同一行有外泄动词(send/upload/leak…),
    config set ...apiKey <key> # free key: https://... 这类配置文档不再误报
  • 自动跳过 vendored 目录:toolchains/ gopath/ goroot/ .gocache/ .gomodcache/ .cargo/ .m2/ .nuget/ site-packages/ .tox/ .nox/ .pub-cache/ go-build/
    —— 在含 Go SDK 的工作区扫描从 52 条噪声降到个位数
  • 预编译二进制(Windows/Linux/macOS)与自动 release workflow
  • README:免 Go 安装、GOTMPDIR 排错、扫描本仓库需排除 testdata,bench

验证

  • 5 个真实仓库(gin / express / flask / axios / fastapi):0 critical / 0 high
  • go test ./... 全绿;bench 恶意语料 16 条全部命中