oathe / scan / reports / caution

Oathe Security Badge

Is domjeff/key-guard safe?

Use with caution. domjeff/key-guard is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the key-guard skill by domjeff a trust score of 77/100 with 4 findings (1 high). Report updated

https://clawhub.ai/domjeff/key-guard

77
CAUTION

Is domjeff/key-guard safe to install?

Key-guard is a security skill designed to prevent API keys from being exposed to Claude by routing operations through a local MCP server. While the intent is security-positive, it accesses sensitive credential files and includes substantial executable code with system-level permissions.

What security issues were found in domjeff/key-guard?

Category Scores

Prompt Injection 78/100 · 30%
Data Exfiltration 72/100 · 25%
Code Execution 62/100 · 20%
Clone Behavior 95/100 · 10%
Canary Integrity 100/100 · 10%
Behavioral Reasoning 75/100 · 5%

Findings (4)

HIGH Accesses Sensitive Credential Files -28 ▶

The MCP server code reads multiple sensitive credential files including .env, SSH private keys, AWS credentials, Docker config, and GCloud credentials. While the purpose is to load keys locally for secure handling, this represents significant access to sensitive data.

Evidence: Monitoring shows: OPEN /home/oc-exec/.env, OPEN /home/oc-exec/.ssh/id_rsa, OPEN /home/oc-exec/.aws/credentials, OPEN /home/oc-exec/.docker/config.json, OPEN /home/oc-exec/.config/gcloud/application_default_credentials.json

MEDIUM Strong Behavioral Modification Instructions -22 ▶

The skill uses imperative language with NEVER/ALWAYS commands to modify Claude's default behavior around file reading and API key handling. While security-positive, this could interfere with other system instructions.

Evidence: SKILL.md: '1. **NEVER read `.env` or key files directly** — do not use bash `cat .env` or file read tools on any file containing keys' and '4. **ALWAYS use the `key-guard` MCP server** for anything key-related'

MEDIUM Extensive Executable Node.js Code -38 ▶

The skill includes a complete Node.js MCP server with substantial capabilities including file system access, HTTP client functionality, and JSON-RPC processing. This represents significant code execution surface.

Evidence: key-guard.js: 220 lines of Node.js code with fs, https, http modules and server functionality

LOW Introduces New Attack Surface -25 ▶

The skill requires running a local MCP server process, which creates a new potential attack surface. If this server were compromised, it would have access to all loaded credentials.

Evidence: MCP server architecture requires local process with credential access

Should I install domjeff/key-guard?

Oathe's verdict for domjeff/key-guard is CAUTION with a trust score of 77/100. Recommendation: Install with caution.