Skip to content

Audit and harden wechat-cli v1.6.20#11

Merged
r266-tech merged 4 commits into
mainfrom
codex/wx-cli-v1.6.20
Jul 15, 2026
Merged

Audit and harden wechat-cli v1.6.20#11
r266-tech merged 4 commits into
mainfrom
codex/wx-cli-v1.6.20

Conversation

@r266-tech

Copy link
Copy Markdown
Owner

改动

  • 统一列表、搜索、SQL、timeline、context 与 tail 的稳定分页/游标语义,显式报告不完整结果
  • 加固缓存快照、WCDB 资源回收、配置并发写入、ASR 强制重建、Companion 认证与附件边界
  • call-json、schema、freshness、warnings 与空列表输出更适合 agent 稳定消费
  • 收紧 macOS/Windows 安装、更新、校验和、危险目录与打包身份验证
  • 升级 Go 基线到 1.26.5,发布版本更新为 1.6.20,并固定 wxkey v1.4.8
  • 重写中文 README:简洁说明安装、agent 工作流、只读边界、媒体/ASR、安全取舍和排障

根因与影响

审计发现固定扫描上限、非稳定 tie-break、部分错误被吞、非原子配置 RMW、宽松删除路径与 bearer 暴露等问题。修复后 CLI 在大数据量、并发刷新、局部 DB/媒体失败及跨平台更新场景下不会静默伪装成完整成功;默认输出也减少敏感本机标识。

验证

  • 实机严格只读:sessions → timeline → read_events,检查分页、cursor、freshness 与消息 shape
  • go test ./... -count=1
  • go test -race ./... -count=1
  • go vet ./...
  • go mod verify
  • govulncheck ./...:No vulnerabilities found
  • macOS arm64 / Windows amd64 交叉构建
  • macOS shell 语法与发布链安全负例
  • Git diff、gofmt 与版本引用检查

Windows 安装器、打包脚本与实际 Windows release artifact 继续由 GitHub Actions 验证。

@cursor

cursor Bot commented Jul 15, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@r266-tech
r266-tech merged commit 794541d into main Jul 15, 2026
4 checks passed
@r266-tech
r266-tech deleted the codex/wx-cli-v1.6.20 branch July 15, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant