Skip to content
Projects

About

Windows & macOS TUI: VPN leak check, TZ/WebRTC runtime guard & local Claude ID reset (chats stay) / Защита среды и сброс ID Claude (Windows и macOS)

Systems & Infrastructure

How these counts are measured

97 stars2 Forks +1 in 24h

What you can do

  • [1] Network & Leak Diagnostic - Keyless api.anthropic.com route check (0 tokens spent), System vs Direct proxy comparison, split-routing detection, IPv6, raw RFC 5389 UDP STUN (WebRTC), and DNS leak probes, IP/ASN reputation (ISP vs Datacenter), and HMAC-SHA256 egress stability (raw IP is never stored on disk).
  • [3] Protected Claude Desktop Launch - Starts Claude.exe / Claude.app with isolated TZ/LANG and --force-webrtc-ip-handling-policy=disable_non_proxied_udp.
  • [4] Clean Browser for Claude (claude.ai) - Opens an isolated Chrome / Brave / Edge window with its own sterile profile (zero cookie or ajs_anonymous_id crossover from your personal browser, plus VPN TZ & WebRTC guard).
  • [5] Reset Local Claude IDs - Wipes machineID, userID, ant-did, pk1:* registry, telemetry salts, config.json.journal, app cookies, and the isolated Aegis browser profile (leaving your personal browser untouched!). Local chats, sessions, MCP servers, and MEMORY.md stay untouched.

Measured star growth

in 24h
+1
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Aegis Claude

RU — Консольная утилита (TUI и CLI) для Windows и macOS: диагностика маршрута к Anthropic и утечек VPN (IPv6, UDP WebRTC, DNS, репутация IP), процессная изоляция часового пояса, локали и прокси для Claude Desktop и Claude Code, аудит конфигурации и сброс локальных идентификаторов с сохранением чатов и MEMORY.md.

EN — Cross-platform (Windows & macOS) console TUI & CLI suite for Claude Desktop and Claude Code: Anthropic route & leak diagnostics (IPv6, UDP WebRTC, DNS, ASN), process-scoped timezone/locale/proxy isolation, config hygiene, and local device ID reset (chats & MEMORY.md stay).

Русский · English · 🌐 Сайт и интерактивная инструкция (aigis.help)

Download ZIP Interactive Guide

🪟 Windows: распакуйте и запустите Aegis-Claude.bat · 🍎 macOS: bash macos/aegis-claude.command

Telegram chat Telegram channel


Русский

Одного сброса machineID и ant-did недостаточно, если VPN пропускает реальный IP-адрес через IPv6 или UDP/WebRTC, Node.js/Electron считывает системный часовой пояс (Europe/Moscow), а выходной IP принадлежит подсети дата-центра с низкой репутацией.

Aegis Claude v2.0 объединяет сброс идентификаторов и защиту среды для Windows 10/11 и macOS (Apple Silicon & Intel) без внешних зависимостей, без .exe-установщиков и без изменения региональных настроек самой ОС.

Быстрый старт

🪟 Windows

  1. Скачайте Download ZIP и распакуйте папку (не запускайте прямо изнутри архива).
  2. Дважды щёлкните Aegis-Claude.bat — откроется интерактивное меню (стрелки ↑/↓, клавиши 1–6, смена языка RU/EN — клавиша L).
    • *Если появилось окно SmartScreen («Система Windows защитила ваш компьютер»): нажмите «Подробнее» → «Выполнить в любом случае».*
    • Для быстрого классического сброса только локальных ID без меню в папке оставлен Reset-ClaudeIdentity.bat.

🍎 macOS (Apple Silicon M1–M4 и Intel)

Работает на штатных утилитах любой macOS (Bash 3.2 + встроенные JXA и Perl) — устанавливать Xcode Command Line Tools или Python не требуется.

  1. Скачайте Download ZIP и распакуйте папку.
  2. Откройте Терминал (Terminal) в распакованной папке и запустите главное меню:
    bash macos/aegis-claude.command
    
    (Либо снимите карантин с распакованной папки xattr -dr com.apple.quarantine . и открывайте macos/aegis-claude.command двойным кликом в Finder).
    • Для быстрого классического сброса только локальных ID и связки ключей Keychain:
      bash macos/reset-claude-identity.command
      

Что умеет Aegis Claude v2.0 (Windows & macOS)

Раздел меню Что делает
[1] Диагностика сети и утечек Бесключевая проверка доступности api.anthropic.com (0 токенов), сравнение системного и прямого маршрутов прокси, двухфакторная сверка региона (выявляет ошибки раздельной маршрутизации split-routing в Clash / Hiddify / v2rayN), тесты утечек IPv6, UDP/WebRTC (STUN) и DNS, репутация IP/ASN (ISP vs Datacenter) и HMAC-SHA256 контроль смены маршрута без записи реального IP-адреса на диск.
[2] Защита среды и ярлыки Создаёт обёртку claude в пользовательском PATH (HKCU\Environment на Windows; ~/.zshrc / ~/.bash_profile / fish на macOS) и отдельные защищённые ярлыки Рабочего стола для Claude Desktop и изолированного браузера Claude Web (Aegis Browser): согласует TZ и LANG с регионом VPN, отключает фоновую телеметрию CLI, блокирует утечку WebRTC UDP и проверяет параметры TLS, MCP и права доступа к файлам настроек.
[3] Запуск Claude Desktop под защитой Открывает Claude.exe / Claude.app с изолированным часовым поясом, локалью и политикой Chromium --force-webrtc-ip-handling-policy=disable_non_proxied_udp.
[4] Изолированный браузер для Claude (claude.ai) Открывает отдельное изолированное окно Chrome / Brave / Edge с чистым профилем (без cookies и ajs_anonymous_id вашего основного браузера, с TZ региона VPN и защитой WebRTC). Предназначено для авторизации по ссылке OAuth и работы на claude.ai.
[5] Сброс локальных ID Claude Удаляет machineID, userID, ant-did, реестр pk1:*, соли телеметрии, config.json.journal, cookies приложения и профиль браузера Aegis (не затрагивая ваш основной браузер). Все чаты, сессии, MCP-серверы и MEMORY.md сохраняются.
[6] Восстановление (Restore) Восстанавливает исходный PATH / .zshrc и файлы конфигураций из транзакционной резервной копии с проверкой SHA-256.

Запуск из командной строки (CLI / Автоматизация)

Windows (PowerShell):

# Полная проверка среды и сети (добавьте -Json для JSON-отчёта без сырого IP)
powershell -NoProfile -ExecutionPolicy Bypass -File .\Aegis-Claude.ps1 -Check -Network

# Включить Runtime Guard, гигиену конфигов и ярлык Claude Desktop на Рабочем столе
powershell -NoProfile -ExecutionPolicy Bypass -File .\Aegis-Claude.ps1 -Repair -Network -DesktopShortcut -Apply

# Откатить последние изменения / Сбросить только локальные ID без пауз
powershell -NoProfile -ExecutionPolicy Bypass -File .\Aegis-Claude.ps1 -Restore latest -Apply
powershell -NoProfile -ExecutionPolicy Bypass -File .\Reset-ClaudeIdentity.ps1 -Apply -Force

macOS (Terminal / Bash):

# Полная проверка среды, утечек и MCP/конфигов (добавьте --json для JSON-отчёта)
bash macos/aegis-claude.command --check --network

# Включить Runtime Guard (~/.zshrc / bash / fish + лаунчер Claude.app) и гигиену конфигов
bash macos/aegis-claude.command --repair --network --apply

# Откатить последние изменения / Сбросить только локальные ID и Keychain без вопросов
bash macos/aegis-claude.command --restore latest --apply
bash macos/reset-claude-identity.command --apply

English

Resetting local machineID and ant-did is not enough if your VPN leaks your home IP over IPv6 or UDP/WebRTC, Node.js/Electron reads a mismatched OS timezone, or your exit IP belongs to a noisy datacenter subnet.

Aegis Claude v2.0 provides network leak diagnostics, process-scoped runtime isolation, config/MCP auditing, and surgical device ID reset for both Windows 10/11 and macOS (Apple Silicon & Intel) — with zero external dependencies and without changing your OS clock, language, or global .gitconfig/.npmrc.

Quick start

🪟 Windows

  1. Click Download ZIP and extract the folder.
  2. Double-click Aegis-Claude.bat to open the interactive TUI (↑/↓ arrows, 1–6 hotkeys, press L to switch RU/EN).
    • Reset-ClaudeIdentity.bat is also included for standalone one-step ID resets.

🍎 macOS (Apple Silicon & Intel)

Runs out-of-the-box on stock macOS (Bash 3.2 + built-in JXA & Perl) — never triggers the Xcode Command Line Tools install popup.

  1. Click Download ZIP and unzip the folder.
  2. Open Terminal in the extracted folder and launch the interactive TUI:
    bash macos/aegis-claude.command
    
    (Or clear Gatekeeper quarantine once via xattr -dr com.apple.quarantine . to double-click macos/aegis-claude.command directly in Finder).
    • For standalone local ID & Keychain reset only:
      bash macos/reset-claude-identity.command
      

Key capabilities (Windows & macOS)

Menu Option Details
[1] Network & Leak Diagnostic Keyless api.anthropic.com route check (0 tokens spent), System vs Direct proxy comparison, split-routing detection, IPv6, raw RFC 5389 UDP STUN (WebRTC), and DNS leak probes, IP/ASN reputation (ISP vs Datacenter), and HMAC-SHA256 egress stability (raw IP is never stored on disk).
[2] Runtime Guard & Shortcuts Installs a process-scoped claude wrapper (HKCU\Environment on Windows; ~/.zshrc / ~/.bash_profile / fish on macOS) plus Desktop shortcuts for Claude Desktop and Clean Browser (Claude Web (Aegis Browser)) matching your VPN's IANA TZ and LANG, disabling CLI telemetry, blocking non-proxied WebRTC UDP, and healing disabled TLS / insecure MCP configs.
[3] Protected Claude Desktop Launch Starts Claude.exe / Claude.app with isolated TZ/LANG and --force-webrtc-ip-handling-policy=disable_non_proxied_udp.
[4] Clean Browser for Claude (claude.ai) Opens an isolated Chrome / Brave / Edge window with its own sterile profile (zero cookie or ajs_anonymous_id crossover from your personal browser, plus VPN TZ & WebRTC guard).
[5] Reset Local Claude IDs Wipes machineID, userID, ant-did, pk1:* registry, telemetry salts, config.json.journal, app cookies, and the isolated Aegis browser profile (leaving your personal browser untouched!). Local chats, sessions, MCP servers, and MEMORY.md stay untouched.
[6] Transactional Restore Rolls back user PATH / shell profile and config files verified by a SHA-256 backup manifest.

Non-interactive CLI usage

Windows (PowerShell):

powershell -NoProfile -ExecutionPolicy Bypass -File .\Aegis-Claude.ps1 -Check -Network
powershell -NoProfile -ExecutionPolicy Bypass -File .\Aegis-Claude.ps1 -Repair -Network -DesktopShortcut -Apply
powershell -NoProfile -ExecutionPolicy Bypass -File .\Aegis-Claude.ps1 -Restore latest -Apply
powershell -NoProfile -ExecutionPolicy Bypass -File .\Reset-ClaudeIdentity.ps1 -Apply -Force

macOS (Bash):

bash macos/aegis-claude.command --check --network
bash macos/aegis-claude.command --repair --network --apply
bash macos/aegis-claude.command --restore latest --apply
bash macos/reset-claude-identity.command --apply

Сообщество и сайт / Community & Website

Explore related projects

Loading…