← n8n-doctor@0.1.0

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

Evidence

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

Diff · removes 18 caught lines

Download .patch
diff --git a/tests/test_masking_names.py b/tests/test_masking_names.py
--- a/tests/test_masking_names.py
+++ b/tests/test_masking_names.py
@@ -102,1 +102,0 @@
[email protected]("name", ["GET /search?key=customer_id", "Login https://user:<password>@host.example.com", "Use ?token=your_token_here"])
diff --git a/src/n8n_doctor/rules.py b/src/n8n_doctor/rules.py
--- a/src/n8n_doctor/rules.py
+++ b/src/n8n_doctor/rules.py
@@ -217,1 +217,0 @@
-re.compile(r"https://(?:[A-Za-z0-9-]{1,63}\.webhook\.office\.com/webhookb2|outlook\.office(?:365)?\.com/webhook)/[A-Za-z0-9@/_-]{20,1024}"),
@@ -1104,1 +1103,0 @@
-``https://user:password@host`` shows where credentials go; neither is a secret.
diff --git a/tests/test_api.py b/tests/test_api.py
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -156,1 +156,0 @@
-for bad in ("ftp://x", "n8n.example.com", "https://user:[email protected]"):
diff --git a/src/n8n_doctor/workflow.py b/src/n8n_doctor/workflow.py
--- a/src/n8n_doctor/workflow.py
+++ b/src/n8n_doctor/workflow.py
@@ -805,1 +805,0 @@
-text = text.lstrip("")
diff --git a/tests/test_edge_cases.py b/tests/test_edge_cases.py
--- a/tests/test_edge_cases.py
+++ b/tests/test_edge_cases.py
@@ -160,1 +160,0 @@
-_NoRedirect().redirect_request(None, None, 302, "Found", {}, "https://u:[email protected]/x?token=abc123secret")
diff --git a/tests/test_security.py b/tests/test_security.py
--- a/tests/test_security.py
+++ b/tests/test_security.py
@@ -29,1 +29,0 @@
-text = f"https://api.telegram.org/bot{TELEGRAM}/send https://admin:[email protected] Bearer {'k' * 30} {GITHUB}"
@@ -39,1 +38,0 @@
-{"url": f"https://admin:[email protected]/bot{TELEGRAM}/x?token=abc123def456", "options": {}},
@@ -191,1 +189,0 @@
-msg = f"401 for https://u:[email protected]/x?api_key=AKIA1234 with Bearer {'z' * 40}"
diff --git a/tests/test_url_secrets.py b/tests/test_url_secrets.py
--- a/tests/test_url_secrets.py
+++ b/tests/test_url_secrets.py
@@ -67,1 +67,0 @@
-"https://bob:[email protected]",
@@ -87,1 +86,0 @@
-"https://example.com:8080/path@v1",
@@ -88,1 +86,0 @@
-"https://a.io/x?email=a:[email protected]",
@@ -90,1 +87,0 @@
-"http://td-customer-username:[email protected]:9999",
@@ -105,1 +101,0 @@
-"git clone https://bob:[email protected]/a/b.git",
diff --git a/tests/test_secret_routes.py b/tests/test_secret_routes.py
--- a/tests/test_secret_routes.py
+++ b/tests/test_secret_routes.py
@@ -121,1 +121,0 @@
[email protected]("value", ["your password here", "Enter your password", "not a secret value for the header"])
diff --git a/tests/test_workflow.py b/tests/test_workflow.py
--- a/tests/test_workflow.py
+++ b/tests/test_workflow.py
@@ -149,1 +149,0 @@
-assert parse_text("" + json.dumps(workflow([trigger()])), "<stdin>")
diff --git a/src/n8n_doctor/cli.py b/src/n8n_doctor/cli.py
--- a/src/n8n_doctor/cli.py
+++ b/src/n8n_doctor/cli.py
@@ -663,1 +663,0 @@
-description="print: write the skill to stdout (for AGENTS.md and other rule files); install: copy it to ~/.claude/skills.",
diff --git a/tests/test_release_round.py b/tests/test_release_round.py
--- a/tests/test_release_round.py
+++ b/tests/test_release_round.py
@@ -189,1 +189,0 @@
-_url("https://u:[email protected]/"),

Zero-context hunks: apply with git apply --unidiff-zero fix.patch on the tagged source of 0.1.0. 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: n8n-doctor: URL with embedded credentials (KillerSkills verdict caution 42)

## 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 42/100**. Summary: static analysis only — behavior not yet observed.

- See the findings below.

Full trace and findings: https://killerskills.ai/skills/glama/n8n-doctor/0.1.0

## Findings with a location
- `tests/test_masking_names.py:102` · URL with embedded credentials — tests/test_masking_names.py:102 · URL with embedded credentials — may be phishing or credential leaking
- `src/n8n_doctor/rules.py:1104` · URL with embedded credentials — src/n8n_doctor/rules.py:1104 · URL with embedded credentials — may be phishing or credential leaking
- `tests/test_api.py:156` · URL with embedded credentials — tests/test_api.py:156 · URL with embedded credentials — may be phishing or credential leaking
- `src/n8n_doctor/workflow.py:805` · Hidden zero-width characters detected — src/n8n_doctor/workflow.py:805 · Hidden zero-width characters detected — may conceal content
- `tests/test_edge_cases.py:160` · URL with embedded credentials — tests/test_edge_cases.py:160 · URL with embedded credentials — may be phishing or credential leaking
- `src/n8n_doctor/rules.py:217` · URL with embedded credentials — src/n8n_doctor/rules.py:217 · URL with embedded credentials — may be phishing or credential leaking
- `tests/test_security.py:39` · URL with embedded credentials — tests/test_security.py:39 · URL with embedded credentials — may be phishing or credential leaking
- `tests/test_url_secrets.py:90` · URL with embedded credentials — tests/test_url_secrets.py:90 · URL with embedded credentials — may be phishing or credential leaking
- `tests/test_url_secrets.py:105` · URL with embedded credentials — tests/test_url_secrets.py:105 · URL with embedded credentials — may be phishing or credential leaking
- `tests/test_security.py:191` · URL with embedded credentials — tests/test_security.py:191 · URL with embedded credentials — may be phishing or credential leaking
- `tests/test_security.py:29` · URL with embedded credentials — tests/test_security.py:29 · URL with embedded credentials — may be phishing or credential leaking
- `tests/test_secret_routes.py:121` · Prompting user to enter sensitive credentials — tests/test_secret_routes.py:121 · Prompting user to enter sensitive credentials — social engineering

## Proposed change
The attached patch removes the 18 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 vladosskins178/n8n-doctor --clone && cd n8n-doctor
curl -s https://killerskills.ai/skills/glama/n8n-doctor/0.1.0/patch.diff | git apply --unidiff-zero
git checkout -b killerskills/0.1.0 && git commit -am "n8n-doctor: URL with embedded credentials"
gh pr create --fill --body-file <(curl -s https://killerskills.ai/skills/glama/n8n-doctor/0.1.0/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.