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.

View source ↗
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.

View source ↗
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 verdict1/1Safe
Code coverage1/1full
Rule findings0/13 matched
No executable scripts0/117 script file(s) of 23
Pinned source1/1commit/SHA-256 recorded
Named author0/1unknown
Recently seen1/1last seen 2026-10-30
Install path0.5/1source 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 ↗
Get the Botlens skill