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.
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.
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 | 12 matched | |
| No executable scripts | 0/1 | 9 script file(s) of 24 | |
| 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
- 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 ↗