← alibaba-mcp@0.2.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. 69 · Caution

Evidence

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

Diff · removes 25 caught lines

Download .patch
diff --git a/test/installer.test.mjs b/test/installer.test.mjs
--- a/test/installer.test.mjs
+++ b/test/installer.test.mjs
@@ -38,1 +38,0 @@
-test("installer stores only a valid relay secret and does not print it", async () => {
diff --git a/src/server/index.ts b/src/server/index.ts
--- a/src/server/index.ts
+++ b/src/server/index.ts
@@ -16,1 +16,0 @@
-let proxyToken = "";
@@ -22,1 +21,0 @@
-proxyToken = process.env.ALIBABA_MCP_PROXY_TOKEN?.trim() ?? "";
@@ -25,1 +23,0 @@
-if (proxyToken) bridge.connectProxy(process.env.ALIBABA_MCP_PROXY_URL?.trim() || PROXY_URL, proxyToken);
@@ -49,1 +46,0 @@
-if (proxyToken) text = text.split(proxyToken).join("[redacted]");
diff --git a/test/alibaba-adapter.test.mjs b/test/alibaba-adapter.test.mjs
--- a/test/alibaba-adapter.test.mjs
+++ b/test/alibaba-adapter.test.mjs
@@ -639,1 +639,0 @@
-"https://user:[email protected]/file",
diff --git a/src/extension/background.ts b/src/extension/background.ts
--- a/src/extension/background.ts
+++ b/src/extension/background.ts
@@ -41,1 +41,0 @@
-let proxyToken = "";
@@ -113,1 +112,0 @@
-sendResponse({ ok: true, text: formatAgentSetup({ proxyToken }) });
@@ -124,1 +122,0 @@
-proxyToken = createPairingToken();
@@ -125,1 +122,0 @@
-await chrome.storage.local.set({ proxyToken });
@@ -195,1 +191,0 @@
-const stored = await chrome.storage.local.get({ accessMode: null, accessSafetyVersion: 0, bridgeToken: "", proxyToken: "" });
diff --git a/src/shared/protocol.ts b/src/shared/protocol.ts
--- a/src/shared/protocol.ts
+++ b/src/shared/protocol.ts
@@ -211,1 +211,0 @@
-export function formatAgentSetup(input: { proxyToken?: string } = {}): string {
@@ -212,1 +211,0 @@
-if (input.proxyToken === undefined) {
@@ -223,1 +221,0 @@
-if (!isValidPairingToken(input.proxyToken)) throw new Error("Relay secret is invalid.");
@@ -229,1 +226,0 @@
-headers: { Authorization: `Bearer ${input.proxyToken}` },
diff --git a/src/proxy/remote-mcp.ts b/src/proxy/remote-mcp.ts
--- a/src/proxy/remote-mcp.ts
+++ b/src/proxy/remote-mcp.ts
@@ -352,1 +352,0 @@
-…complete="off" required></label><button type="submit">Connect</button></form><p>Paste the secret from the alibaba-mcp extension. It is sent to the hosted relay in this request …
diff --git a/src/server/bridge.ts b/src/server/bridge.ts
--- a/src/server/bridge.ts
+++ b/src/server/bridge.ts
@@ -94,1 +94,0 @@
-private proxyToken = "";
@@ -275,1 +274,0 @@
-connectProxy(url = PROXY_URL, token = this.proxyToken): void {
@@ -276,1 +274,0 @@
-if (!isValidPairingToken(token)) throw new BridgeConfigError("Relay secret is missing or too weak.");
@@ -279,1 +276,0 @@
-this.proxyToken = token;
@@ -299,1 +295,0 @@
-if (this.closed || !this.proxyUrl || !this.proxyToken) return;
diff --git a/test/protocol.test.mjs b/test/protocol.test.mjs
--- a/test/protocol.test.mjs
+++ b/test/protocol.test.mjs
@@ -70,1 +70,0 @@
-const routed = formatAgentSetup({ proxyToken: first });
@@ -78,1 +77,0 @@
-assert.throws(() => formatAgentSetup({ proxyToken: "short" }), /Relay secret is invalid/);
diff --git a/test/attachments.test.mjs b/test/attachments.test.mjs
--- a/test/attachments.test.mjs
+++ b/test/attachments.test.mjs
@@ -98,1 +98,0 @@
-"https://user:[email protected]/a",
@@ -124,1 +123,0 @@
-"https://user:[email protected]/a.pdf",

Zero-context hunks: apply with git apply --unidiff-zero fix.patch on the tagged source of 0.2.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: alibaba-mcp: Credential pass-through configuration (KillerSkills verdict caution 69)

## 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 69/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/alibaba-mcp/0.2.0

## Findings with a location
- `test/installer.test.mjs:38` · Credential pass-through configuration — test/installer.test.mjs:38 · Credential pass-through configuration — agent relays sensitive credentials
- `src/server/index.ts:25` · Credential pass-through configuration — src/server/index.ts:25 · Credential pass-through configuration — agent relays sensitive credentials
- `test/alibaba-adapter.test.mjs:639` · URL with embedded credentials — test/alibaba-adapter.test.mjs:639 · URL with embedded credentials — may be phishing or credential leaking
- `src/extension/background.ts:124` · Credential pass-through configuration — src/extension/background.ts:124 · Credential pass-through configuration — agent relays sensitive credentials
- `src/server/index.ts:49` · Credential pass-through configuration — src/server/index.ts:49 · Credential pass-through configuration — agent relays sensitive credentials
- `src/shared/protocol.ts:229` · Credential pass-through configuration — src/shared/protocol.ts:229 · Credential pass-through configuration — agent relays sensitive credentials
- `src/proxy/remote-mcp.ts:352` · Prompting user to enter sensitive credentials — src/proxy/remote-mcp.ts:352 · Prompting user to enter sensitive credentials — social engineering
- `src/server/bridge.ts:276` · Credential pass-through configuration — src/server/bridge.ts:276 · Credential pass-through configuration — agent relays sensitive credentials
- `test/protocol.test.mjs:78` · Credential pass-through configuration — test/protocol.test.mjs:78 · Credential pass-through configuration — agent relays sensitive credentials
- `src/server/bridge.ts:299` · Credential pass-through configuration — src/server/bridge.ts:299 · Credential pass-through configuration — agent relays sensitive credentials
- `test/attachments.test.mjs:98` · URL with embedded credentials — test/attachments.test.mjs:98 · URL with embedded credentials — may be phishing or credential leaking
- `test/attachments.test.mjs:124` · URL with embedded credentials — test/attachments.test.mjs:124 · URL with embedded credentials — may be phishing or credential leaking

## Proposed change
The attached patch removes the 25 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 agflows/alibaba-mcp --clone && cd alibaba-mcp
curl -s https://killerskills.ai/skills/glama/alibaba-mcp/0.2.0/patch.diff | git apply --unidiff-zero
git checkout -b killerskills/0.2.0 && git commit -am "alibaba-mcp: Credential pass-through configuration"
gh pr create --fill --body-file <(curl -s https://killerskills.ai/skills/glama/alibaba-mcp/0.2.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.