grok-swap (gswap) — Grok Build multi-account switcher
Multi-account switcher for Grok Build that snapshots grok login sessions and flips ~/.grok/auth.json locally.
SafeScan verdict · score 56/100
- Coverage
- full
- Checks run
- Rule-based pattern scan
- Files checked
- 23
- Findings
- 3
- Scanned
- 2026-11-01
Badges are rule-based checks, not guarantees: Safe means our rules found no obvious threat in the code we could read. Review code before installing.
Botlens score · 8 factors
56/100
Each factor is 0, ½ or 1, computed only from catalog fields (scan result, coverage, findings, script files, commit/SHA, author, last seen, install link). A heuristic summary, not a guarantee.
| Scan verdict | 1/1 | Safe | |
|---|---|---|---|
| Code coverage | 1/1 | full | |
| Rule findings | 0/1 | 3 matched | |
| No executable scripts | 0/1 | 17 script file(s) of 23 | |
| Pinned source | 1/1 | commit/SHA-256 recorded | |
| Named author | 0/1 | unknown | |
| Recently seen | 1/1 | last seen 2026-10-30 | |
| Install path | 0.5/1 | source URL only |
Scan details
- Findings
- reads environment variables (where API keys live) in src/grok_swap/paths.py: "…def grok_home() -> Path: override = os.environ.get("GROK_HOME") or os.environ.get("GRO…"
- reads environment variables (where API keys live) in src/grok_swap/printer.py: "…rt sys def _enabled() -> bool: if os.environ.get("NO_COLOR"): return False …"
- reads environment variables (where API keys live) in src/grok_swap/switcher.py: "…or("grok is not on PATH") env = os.environ.copy() env["GROK_HOME"] = str(d…"
- Content SHA-256
- d7fdc5800c1b8b0f…
- Commit
- b3bfa27c5d
- Files
- .gitignore
LICENSE
README.md
SECURITY.md
pyproject.toml
src/grok_swap/__init__.py
+17
About
- Author
- bcharleson ↗
- Listed on
- github:RongleCat/awesome-grok-bot ↗
- Category (approx.)
- other
- First seen
- 2026-10-30
- Last seen
- 2026-10-30
- URL
- github.com ↗