← ssh-connector@r1

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. 65 · Caution

Evidence

The sandbox observed nothing beyond the static findings; the proposal cites those.

Diff · removes 6 caught lines

Download .patch
diff --git a/scripts/gh-session.sh b/scripts/gh-session.sh
--- a/scripts/gh-session.sh
+++ b/scripts/gh-session.sh
@@ -8,1 +8,0 @@
-#   SSH_CONNECTOR_KEY      optional - private SSH key, saved as ~/.ssh/id_ed25519
@@ -70,1 +69,0 @@
-printf '%s\n' "$SSH_CONNECTOR_KEY" > ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519
diff --git a/plugins/ssh-connector/server.py b/plugins/ssh-connector/server.py
--- a/plugins/ssh-connector/server.py
+++ b/plugins/ssh-connector/server.py
@@ -733,1 +733,0 @@
-mode='prompt'  : one-time https link (2 min) where you type the password yourself; it is checked on the server.
@@ -758,1 +757,0 @@
-"say": "Open the link and type the password there — never in the chat."})
diff --git a/plugins/ssh-connector/servers.example.yaml b/plugins/ssh-connector/servers.example.yaml
--- a/plugins/ssh-connector/servers.example.yaml
+++ b/plugins/ssh-connector/servers.example.yaml
@@ -5,1 +5,0 @@
-key: ~/.ssh/id_ed25519
diff --git a/servers.example.yaml b/servers.example.yaml
--- a/servers.example.yaml
+++ b/servers.example.yaml
@@ -5,1 +5,0 @@
-key: ~/.ssh/id_ed25519

Zero-context hunks: apply with git apply --unidiff-zero fix.patch on the tagged source of r1. 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: ssh-connector: References a credential file in the home directory (KillerSkills verdict caution 65)

## What the honeypot observed
KillerSkills ran **ssh-connector@r1** in an isolated sandbox (decoy credentials, recording proxy, syscall trace; engine 1.9.2) and scored it **CAUTION 65/100**. Summary: no network, touches nothing outside the project, writes no memory.

- See the findings below.

Full trace and findings: https://killerskills.ai/skills/glama/ssh-connector/r1

## Findings with a location
- `scripts/gh-session.sh:8` · References a credential file in the home directory — scripts/gh-session.sh:8 · References a credential file in the home directory
- `plugins/ssh-connector/server.py:758` · Prompting user to enter sensitive credentials — plugins/ssh-connector/server.py:758 · Prompting user to enter sensitive credentials — social engineering
- `plugins/ssh-connector/server.py:733` · Prompting user to enter sensitive credentials — plugins/ssh-connector/server.py:733 · Prompting user to enter sensitive credentials — social engineering
- `scripts/gh-session.sh:70` · References a credential file in the home directory — scripts/gh-session.sh:70 · References a credential file in the home directory
- `plugins/ssh-connector/servers.example.yaml:5` · References a credential file in the home directory — plugins/ssh-connector/servers.example.yaml:5 · References a credential file in the home directory
- `servers.example.yaml:5` · References a credential file in the home directory — servers.example.yaml:5 · References a credential file in the home directory

## Proposed change
The attached patch removes the 6 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 ykinfohome7/ssh-connector --clone && cd ssh-connector
curl -s https://killerskills.ai/skills/glama/ssh-connector/r1/patch.diff | git apply --unidiff-zero
git checkout -b killerskills/r1 && git commit -am "ssh-connector: References a credential file in the home directory"
gh pr create --fill --body-file <(curl -s https://killerskills.ai/skills/glama/ssh-connector/r1/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.