Skip to content

AI-Net-Guard v5.9.5

Choose a tag to compare

@github-actions github-actions released this 24 Nov 12:21
· 18 commits to main since this release

AI-Net-Guard v5.9.5 发布说明 (Release Notes)

脱敏重发维护版 (Sanitized Release):在 v5.9.4 全部功能与修复基础之上,基于完成全量脱敏后的代码树重构单文件 AI-Net-Guard.exe 与 AI-Net-Guard-portable.zip(替换内嵌在压缩包与 EXE 载荷中的历史文档、注释和批处理路径),并固化自动化防泄露门禁,无功能与架构变动。


一、相较 v5.9.4 的更新内容

  1. 内嵌脚本与随附文档全面脱敏
  2. 新增自动化防 PII 门禁断言(test-stun-ports.ps1)
    • 回归门禁扩展至 60 项,每次测试与 CI 构建自动扫描仓库源码、文档、脚本与 GUI 文件,阻断个人本机路径或私密 IP 再次进入仓库与发布包。

二、验证范围

  • 全仓纯 ASCII & AST:所有 .ps1 脚本 100% 纯 ASCII、0 AST 解析错误;
  • 双引擎单元测试:tests\test-stun-ports.ps1 在 Windows PowerShell 5.1(60/60 PASS) 与 PowerShell 7.7(60/60 PASS) 下全部通过;
  • GUI 构建与附件脱敏扫描:gui\build.ps1 -RunSmokeTest 0 警告 0 错误、8/8 UI 冒烟 PASS;生成的 AI-Net-Guard.exe(含内嵌 payload.zip)与 AI-Net-Guard-portable.zip 经二进制及压缩条目逐项扫描 0 敏感命中。

三、从本地仓库同步到 C:\AI-Net-Guard(管理员 PowerShell 执行)

将 C:\path\to\AI-Net-Guard 替换为你的本地仓库目录后执行:

$ws = "C:\path\to\AI-Net-Guard"; $root = "C:\AI-Net-Guard"; powershell -ExecutionPolicy Bypass -File "$ws\scripts\13-harden-acl.ps1" -Root $root -SyncWorkspace -WorkspaceRoot $ws -SkipVerification; & "$root\scripts\07-mode.ps1"; & "$root\scripts\12-regression.ps1"