secret-guard — credential leak hooks including Grok CLI

PreToolUse/PostToolUse credential-leak hooks with a native Grok CLI adapter beside Claude, Codex, Cursor, and opencode.

View source ↗
SafeScan verdict · score 56/100
Coverage
full
Checks run
Rule-based pattern scan
Files checked
24
Findings
4
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/112 matched
No executable scripts0/19 script file(s) of 24
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
  • Hand review 2026-11-01: Secret guard; listed commands are blocked (README.md:20, skills/secret-guard/SKILL.md:17).
  • reads sensitive local files (keys, .env, cookies): "…s leak secrets all the time: `cat .env` to debug, `aws secretsmanage…"
  • reads environment variables (where API keys live) in tests/test_secret_guard.py: "…xtra=None): env = {k: v for k, v in os.environ.items() if k != "CLAUDE_PLUGIN_ROOT"} …"
  • touches credential/key files in tests/test_secret_guard.py: "… test_ssh_config(self): self.check("cat ~/.ssh/config", "allow") def test_ssh_key(s…"
Content SHA-256
8f47150fdc11981f…
Commit
74fa4b35f8
Files
.gitignore
LICENSE
README.md
install.sh
plugin.json
tests/test_secret_guard.py
+18

About

Author
wtfsayo ↗
Listed on
github:RongleCat/awesome-grok-bot ↗
Category (approx.)
coding
First seen
2026-10-30
Last seen
2026-10-30
URL
github.com ↗
Get the Botlens skill