Skip to content

Harden elevated config and shadow setup - #1

Merged
r266-tech merged 1 commit into
mainfrom
codex/wxkey-v1.4.8
Jul 15, 2026
Merged

Harden elevated config and shadow setup#1
r266-tech merged 1 commit into
mainfrom
codex/wxkey-v1.4.8

Conversation

@r266-tech

Copy link
Copy Markdown
Owner

改动

  • 为 wxkey 配置写入增加跨进程锁、0600 原子替换与 symlink 防护
  • 限制提权配置路径,并固定使用系统 sudo
  • 将 Shadow WeChat 构建改为受管目录内随机 staging、降权执行与原子发布
  • 升级 Go 基线到 1.26.5

原因与影响

避免并发 key/image-key 写入互相覆盖,并收紧提权路径和 shadow app 的文件系统竞态。正常 wxkey bootstrap/setup/image-key 工作流保持不变。

验证

  • go test ./... -count=1
  • go test -race ./... -count=1
  • go vet ./...
  • go mod verify
  • govulncheck ./...:No vulnerabilities found
  • git diff --check

@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 9b70eec into main Jul 15, 2026
2 checks passed
@r266-tech
r266-tech deleted the codex/wxkey-v1.4.8 branch July 15, 2026 04:22
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