为 Grok CLI 提供代码库隐私防护,防止代码库在未经用户许可时被上传,同时支持启动自检和历史检测。

Stars

12

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

MIT

最近更新

2026-07-21

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

通过修改配置、锁定自动更新、校验二进制指纹和每次启动时显示状态,以用户可见的方式有效防止代码库泄露,且脚本只读日志、只写用户配置,不向外发送任何数据。

适合谁使用

  • 在 macOS 上使用 Grok CLI 的开发者(zsh/bash)
  • 关注源码意外泄露风险的团队
  • 注重隐私的 AI 编码助手用户

典型使用场景

  • 禁止 Grok 在后台将整个仓库(含 git 历史)打包上传
  • 检测历史上是否有代码库被上传过
  • 升级 Grok 后验证防护是否仍生效
  • 临时绕过防护执行有意操作

项目优势

  • 通过修改 config 和锁定自动更新有效阻止整仓上传和 trace 上传
  • 二进制指纹校验防止被替换,并给出提醒
  • 启动时显示彩色状态(绿/黄/红)给予直观反馈
  • 安装脚本幂等且自带备份,适合 AI agent 自动执行

使用前须知

  • 不做网络层拦截,依赖 Grok 自身遵守开关,配合指纹校验和启动检测兜底
  • 用户主动让 Grok 读取的文件仍会发送到模型端(属于正常 AI 行为,不在防护范围)
  • 仅支持 macOS + zsh/bash,未内置网络防火墙或容器隔离

README 快速开始

安装

项目描述

给 Grok CLI 加一层代码库隐私防护:防止代码库在你不知情时被上传,并在每次启动时检测提醒 · A codebase-privacy guard for Grok CLI — prevent silent upload, detect on every launch

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

makecindy
精选
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI 与机器学习大语言模型
958
0xwilliamortiz
精选
0xwilliamortiz GitHub avatar

openclaude-improved

OpenClaude is an open-source CLI coding agent that runs on any platform and supports a wide range of LLM providers, offering the same tools and workflows as Claude Code.

AI 与机器学习大语言模型
577
programmersd21
精选
programmersd21 GitHub avatar

flow

flow is a minimalist terminal dashboard that displays real-time network throughput with smooth animations, multiple responsive modes, and zero configuration.

开发者工具CLI 与终端
277