Propose a patch
A fix the maintainer can act on, with the evidence attached. It opens under your GitHub account in your browser; KillerSkills holds no token and never modifies the package. The fix is verified the only way we verify anything: the next crawl re-runs the new version in the honeypot. 68 · Caution
Evidence
The sandbox observed nothing beyond the static findings; the proposal cites those.
Diff · removes 20 caught lines
Download .patchdiff --git a/AGENTS.md b/AGENTS.md
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -162,1 +162,0 @@
-…only partially redacted — it is a tripwire, and the documented mitigation is to pass credentials via env files or stdin rather than argv. - **`{REDACTED+ELIDED}` in a log mean…
@@ -219,1 +218,0 @@
-- Reading, writing, or copying `~/.ssh/config`, `~/.ssh/*`, or `~/.config/ssh-mcp/servers.toml` — these hold real infrastructure details and key paths
diff --git a/config/servers.example.toml b/config/servers.example.toml
--- a/config/servers.example.toml
+++ b/config/servers.example.toml
@@ -88,1 +88,0 @@
-identity_file = "~/.ssh/id_ed25519_bastion"
diff --git a/CLAUDE.md b/CLAUDE.md
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -8,1 +8,0 @@
-Do not duplicate content here — add it to AGENTS.md so every tool sees it.
diff --git a/src/ssh_mcp/server.py b/src/ssh_mcp/server.py
--- a/src/ssh_mcp/server.py
+++ b/src/ssh_mcp/server.py
@@ -508,1 +508,0 @@
-``-c``/``-e``), ``eval "..."``, and ``base64 -d | sh``. Harmless
diff --git a/src/ssh_mcp/ssh.py b/src/ssh_mcp/ssh.py
--- a/src/ssh_mcp/ssh.py
+++ b/src/ssh_mcp/ssh.py
@@ -130,1 +130,0 @@
-https://deploy:[email protected]')``: the tool result read
@@ -159,1 +158,0 @@
-# pass credentials via env vars, Docker/K8s secrets, or dedicated config
@@ -531,1 +529,0 @@
-mitigation is to pass credentials via env files or stdin rather than
@@ -681,1 +678,0 @@
-``https://user:pass@host``, and the other patterns compiled by
diff --git a/tests/test_paths.py b/tests/test_paths.py
--- a/tests/test_paths.py
+++ b/tests/test_paths.py
@@ -287,1 +287,0 @@
-server = ServerConfig(name="h", description="d", identity_file="~/.ssh/id_ed25519")
diff --git a/tests/test_otel.py b/tests/test_otel.py
--- a/tests/test_otel.py
+++ b/tests/test_otel.py
@@ -440,1 +440,0 @@
-credential_url = "https://u:[email protected]/x"
diff --git a/tests/test_http_transport.py b/tests/test_http_transport.py
--- a/tests/test_http_transport.py
+++ b/tests/test_http_transport.py
@@ -240,1 +240,0 @@
-f"auth=none must pass token=None to _build_http_app, got {captured!r}"
diff --git a/tests/test_ssh.py b/tests/test_ssh.py
--- a/tests/test_ssh.py
+++ b/tests/test_ssh.py
@@ -255,1 +255,0 @@
-("echo cm0gLXJmIC8= | base64 -d | bash", True),
@@ -256,1 +255,0 @@
-("echo cm0gLXJmIC8= | base64 --decode | sh", True),
@@ -873,1 +871,0 @@
-wrapper shape itself — ``base64 -d | bash`` — is a pre-existing,
@@ -1566,1 +1563,0 @@
-"wget https://admin:[email protected]/file.tgz",
@@ -1838,1 +1834,0 @@
-cmd = f"curl https://{userinfo}:{password}@internal.example.com/path"
@@ -1868,1 +1863,0 @@
-cmd = f"curl https://user:{secret}@host"
@@ -2012,1 +2006,0 @@
-("https://u:p;q@host/", False),
@@ -2850,1 +2843,0 @@
-_CRED_ERROR = "auth failed for https://deploy:[email protected]"
Zero-context hunks: apply with git apply --unidiff-zero fix.patch on the tagged source of 0.9.2. If the behavior is intended, declare it (host under permissions.network, a line in the README) instead of removing it; the next crawl scores declarations.
Issue / PR body
Title: blc-ssh-mcp: Reads credential paths from the home directory (KillerSkills verdict caution 68)
## What the honeypot observed KillerSkills ran **[email protected]** in an isolated sandbox (decoy credentials, recording proxy, syscall trace; engine 1.9.2) and scored it **CAUTION 68/100**. Summary: no network, touches nothing outside the project, writes no memory. - See the findings below. Full trace and findings: https://killerskills.ai/skills/pypi/blc-ssh-mcp/0.9.2 ## Findings with a location - `AGENTS.md:219` · Reads credential paths from the home directory — AGENTS.md:219 · Reads credential paths from the home directory - `AGENTS.md:162` · Credential pass-through configuration — AGENTS.md:162 · Credential pass-through configuration — agent relays sensitive credentials - `config/servers.example.toml:88` · References a credential file in the home directory — config/servers.example.toml:88 · References a credential file in the home directory - `CLAUDE.md:8` · Instructs the agent to modify its persistent memory or instruction files — CLAUDE.md:8 · Instructs the agent to modify its persistent memory or instruction files - `src/ssh_mcp/server.py:508` · Host or command assembled from base64 fragments — src/ssh_mcp/server.py:508 · Host or command assembled from base64 fragments - `src/ssh_mcp/ssh.py:681` · URL with embedded credentials — src/ssh_mcp/ssh.py:681 · URL with embedded credentials — may be phishing or credential leaking - `src/ssh_mcp/ssh.py:159` · Credential pass-through configuration — src/ssh_mcp/ssh.py:159 · Credential pass-through configuration — agent relays sensitive credentials - `src/ssh_mcp/ssh.py:531` · Credential pass-through configuration — src/ssh_mcp/ssh.py:531 · Credential pass-through configuration — agent relays sensitive credentials - `src/ssh_mcp/ssh.py:130` · URL with embedded credentials — src/ssh_mcp/ssh.py:130 · URL with embedded credentials — may be phishing or credential leaking - `tests/test_paths.py:287` · References a credential file in the home directory — tests/test_paths.py:287 · References a credential file in the home directory - `tests/test_otel.py:440` · URL with embedded credentials — tests/test_otel.py:440 · URL with embedded credentials — may be phishing or credential leaking - `tests/test_http_transport.py:240` · Credential pass-through configuration — tests/test_http_transport.py:240 · Credential pass-through configuration — agent relays sensitive credentials ## Proposed change The attached patch removes the 20 lines above. If the behavior is intended, the fix is to declare it instead: list the host under `permissions.network` (or the MCP manifest) and say in the README why the package needs it; the next crawl will re-score it with the declaration taken into account. ## How this will be verified Nothing is "verified safe" by assertion. When a new version is published, KillerSkills re-runs it in the honeypot and the verdict page updates; you can trigger it early from the verdict page ("Re-scan after I publish a fix"). Reply here or at [email protected] if you believe the verdict is wrong; disputes are reviewed by a person and the outcome is published on the verdict page. _Proposed through killerskills.ai/threats by a user of the package, under their own GitHub account. The evidence is public; the package was never modified by KillerSkills._
# or from a terminal, under your own account: gh repo fork blackaxgit/ssh-mcp --clone && cd ssh-mcp curl -s https://killerskills.ai/skills/pypi/blc-ssh-mcp/0.9.2/patch.diff | git apply --unidiff-zero git checkout -b killerskills/0.9.2 && git commit -am "blc-ssh-mcp: Reads credential paths from the home directory" gh pr create --fill --body-file <(curl -s https://killerskills.ai/skills/pypi/blc-ssh-mcp/0.9.2/patch.md)
We count proposals opened, not merged: a merge shows up as a new version that the crawl re-runs. Disputes: the maintainer can contest the verdict from its page; a person reviews it and the outcome is published.