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 73 caught lines
Download .patchdiff --git a/src/netcheck.ts b/src/netcheck.ts
--- a/src/netcheck.ts
+++ b/src/netcheck.ts
@@ -2,1 +2,0 @@
-* تست دسترسی شبکه از همین سرور به API پیامرسانها:
diff --git a/src/index.ts b/src/index.ts
--- a/src/index.ts
+++ b/src/index.ts
@@ -2,1 +2,0 @@
-* نقطهی ورود کتابخانه — برای الحاق به پروژهی دیگر:
@@ -22,1 +21,0 @@
-/** سرویسهای اضافه (مثلاً سرویس اختصاصی پروژهی میزبان) */
@@ -24,1 +22,0 @@
-/** فقط این سرویسها بارگذاری شوند */
diff --git a/src/core/inbox.ts b/src/core/inbox.ts
--- a/src/core/inbox.ts
+++ b/src/core/inbox.ts
@@ -2,1 +2,0 @@
-* صندوق پیامهای ورودی.
@@ -4,1 +3,0 @@
-* برای هر پیامرسانی که «دریافت پیامها» برایش روشن است، یک حلقهی polling
@@ -5,1 +3,0 @@
-* پیامهای جدید را میگیرد و در data/inbox/<provider>.json نگه میدارد.
diff --git a/src/core/store.ts b/src/core/store.ts
--- a/src/core/store.ts
+++ b/src/core/store.ts
@@ -8,1 +8,0 @@
-/** «دریافت پیامها» روشن است؟ */
@@ -19,1 +18,0 @@
-/** با هر خروج یا تغییر رمز زیاد میشود و همهی نشستهای قبلی باطل میشوند */
diff --git a/test/unit/net.test.ts b/test/unit/net.test.ts
--- a/test/unit/net.test.ts
+++ b/test/unit/net.test.ts
@@ -57,1 +57,0 @@
-if (req.url === "/hang") return; // هیچوقت جواب نده
@@ -75,1 +74,0 @@
-await assert.rejects(request(`${base}/hang`, { timeoutMs: 300 }), (e: any) => e instanceof ProviderError && /زمان پاسخگویی/.test(e.message));
diff --git a/src/http/router.ts b/src/http/router.ts
--- a/src/http/router.ts
+++ b/src/http/router.ts
@@ -11,1 +11,0 @@
-/** نمایش داشبورد (پیشفرض: true). در پروژهی میزبان میتوانید خاموشش کنید */
@@ -13,1 +12,0 @@
-/** دریافت خودکار پیامها برای سرویسهایی که روشن کردهاند (پیشفرض: true) */
diff --git a/src/core/testimage.ts b/src/core/testimage.ts
--- a/src/core/testimage.ts
+++ b/src/core/testimage.ts
@@ -3,1 +3,0 @@
-* لاجوردی با یک دایرهی فیروزهای (همان نشان dibaMCP).
diff --git a/src/core/logger.ts b/src/core/logger.ts
--- a/src/core/logger.ts
+++ b/src/core/logger.ts
@@ -19,1 +19,0 @@
-/** پوشهی فایلهای لاگ. اگر نباشد لاگ فقط در حافظه میماند */
@@ -21,1 +20,0 @@
-/** تعداد لاگ نگهداشتهشده در حافظه برای داشبورد */
diff --git a/src/core/netcheck.ts b/src/core/netcheck.ts
--- a/src/core/netcheck.ts
+++ b/src/core/netcheck.ts
@@ -26,1 +26,0 @@
-* بررسی میکند سرور فعلی (مثلاً سرور آلمان) به API هر سرویس دسترسی دارد یا نه.
diff --git a/src/core/media.ts b/src/core/media.ts
--- a/src/core/media.ts
+++ b/src/core/media.ts
@@ -2,1 +2,0 @@
-* رسانه (عکس/فایل) برای ارسال در پیامرسانها.
@@ -4,1 +3,0 @@
-* ورودی هر ابزار رسانهای میتواند یکی از اینها باشد:
diff --git a/src/core/selftest.ts b/src/core/selftest.ts
--- a/src/core/selftest.ts
+++ b/src/core/selftest.ts
@@ -2,1 +2,0 @@
-* «تست کامل» یک پیامرسان: قدمبهقدم بررسی میکند چه چیزی کار میکند و
diff --git a/src/core/types.ts b/src/core/types.ts
--- a/src/core/types.ts
+++ b/src/core/types.ts
@@ -21,1 +21,0 @@
-/** پیام دریافتی، به شکل یکسان برای همهی پیامرسانها */
@@ -23,1 +22,0 @@
-/** شناسهی یکتا در صندوق: provider:chat:message */
@@ -34,1 +32,0 @@
-/** شناسهی دکمهای که کاربر زده (اگر این پیام کلیک دکمه باشد) */
diff --git a/src/core/net.ts b/src/core/net.ts
--- a/src/core/net.ts
+++ b/src/core/net.ts
@@ -2,1 +2,0 @@
-* لایهی شبکه: همهی درخواستهای بیرونی از اینجا رد میشوند تا بشود
@@ -7,1 +6,0 @@
-* NO_PROXY=localhost,127.0.0.1 ← آدرسهایی که مستقیم بروند
diff --git a/src/server.ts b/src/server.ts
--- a/src/server.ts
+++ b/src/server.ts
@@ -2,1 +2,0 @@
-* راهاندازهای آماده — هم CLI (diba-mcp) و هم main.ts/stdio.ts/netcheck.ts از اینها استفاده میکنند.
@@ -15,1 +14,0 @@
-/** بنر شروع را چاپ کند (پیشفرض true) */
@@ -39,1 +37,0 @@
-console.error(` پوشهی داده: ${dataDir}\n`);
diff --git a/src/providers/index.ts b/src/providers/index.ts
--- a/src/providers/index.ts
+++ b/src/providers/index.ts
@@ -8,1 +8,0 @@
-* فهرست همهی سرویسها.
@@ -9,1 +8,0 @@
-* برای اضافه کردن سرویس جدید (زرینپال، کاوهنگار، نشان، ...):
@@ -11,1 +9,0 @@
-* ۲. اینجا به آرایه اضافهاش کنید
diff --git a/src/providers/rubika.ts b/src/providers/rubika.ts
--- a/src/providers/rubika.ts
+++ b/src/providers/rubika.ts
@@ -37,1 +37,0 @@
-/** update روبیکا (NewMessage، UpdatedMessage، StartedBot، کلیک دکمه) را به پیام یکسان تبدیل میکند */
@@ -74,1 +73,0 @@
-/** عنوان چتها را یک بار از getChat میگیرد (update روبیکا اسم ندارد) */
@@ -146,1 +144,0 @@
-description: "ارسال پیام، عکس، فایل و موقعیت، و دریافت پیامها با Bot API روبیکا",
@@ -155,1 +152,0 @@
-help: "آدرس قدیمیتر: https://messengerg2b1.iranlms.ir/v3",
diff --git a/public/app.js b/public/app.js
--- a/public/app.js
+++ b/public/app.js
@@ -1,1 +1,0 @@
-// dibaMCP — داشبورد (بدون فریمورک)
@@ -80,1 +79,0 @@
-{ id: "providers", title: "پیامرسانها" },
@@ -81,1 +79,0 @@
-{ id: "inbox", title: "پیامهای دریافتی" },
@@ -83,1 +80,0 @@
-{ id: "logs", title: "گزارش فراخوانیها" },
diff --git a/src/providers/bale.ts b/src/providers/bale.ts
--- a/src/providers/bale.ts
+++ b/src/providers/bale.ts
@@ -12,1 +12,0 @@
-description: "ارسال پیام، عکس و فایل، و دریافت پیامها با Bot API بله",
diff --git a/src/providers/telegram-like.ts b/src/providers/telegram-like.ts
--- a/src/providers/telegram-like.ts
+++ b/src/providers/telegram-like.ts
@@ -8,1 +8,0 @@
-* بله و سروشپلاس هر دو Bot API شبیه تلگرام دارند:
@@ -10,1 +9,0 @@
-* این factory یک provider کامل برای هر دو میسازد.
@@ -26,1 +24,0 @@
-if (!id) throw new ProviderError("chat_id داده نشده و «چت پیشفرض» هم در تنظیمات خالی است");
@@ -45,1 +42,0 @@
-/** یک update به سبک تلگرام (بله، سروش) را به پیام یکسان تبدیل میکند */
@@ -102,1 +98,0 @@
-* ارسال رسانه: لینک و فایل انتخابشده را خود سرور دانلود و بهصورت multipart آپلود میکند
diff --git a/src/providers/eitaa.ts b/src/providers/eitaa.ts
--- a/src/providers/eitaa.ts
+++ b/src/providers/eitaa.ts
@@ -11,1 +11,0 @@
-* نکته: ایتایار فقط ارسال به کانال/گروه را پشتیبانی میکند و دریافت پیام ندارد.
@@ -31,1 +30,0 @@
-/** ایتایار file_id ندارد؛ همیشه آپلود میشود */
@@ -33,1 +31,0 @@
-if (!isUploadable(value)) throw new ProviderError("ایتا فقط لینک فایل یا فایل انتخابشده را قبول میکند (file_id پشتیبانی نمیشود)");
diff --git a/src/providers/soroush.ts b/src/providers/soroush.ts
--- a/src/providers/soroush.ts
+++ b/src/providers/soroush.ts
@@ -6,1 +6,0 @@
-nameFa: "سروشپلاس",
@@ -12,1 +11,0 @@
-description: "ارسال پیام، عکس و فایل با Bot API رسمی سروشپلاس",
diff --git a/public/styles.css b/public/styles.css
--- a/public/styles.css
+++ b/public/styles.css
@@ -18,1 +18,0 @@
-/* تم تیره (پیشفرض) */
@@ -168,1 +167,0 @@
-/* ورودیهای داخل wrap همیشه LTR هستند (توکن)، پس دکمه سمت راست */
diff --git a/test/e2e.ts b/test/e2e.ts
--- a/test/e2e.ts
+++ b/test/e2e.ts
@@ -2,1 +2,0 @@
-* تست سرتاسری: یک سرور جعلی بهجای API پیامرسانها بالا میآورد،
@@ -3,1 +2,0 @@
-* سرور diba-mcp را اجرا میکند و با کلاینت واقعی MCP ابزارها را صدا میزند.
diff --git a/test/unit/inbox.test.ts b/test/unit/inbox.test.ts
--- a/test/unit/inbox.test.ts
+++ b/test/unit/inbox.test.ts
@@ -66,1 +66,0 @@
-// ---------------- صندوق با یک پیامرسان ساختگی ----------------
@@ -188,1 +187,0 @@
-assert.match(hintFor("بله: Bad Request: chat not found", "send_text")!, /شناسهی چت/);
diff --git a/src/stdio.ts b/src/stdio.ts
--- a/src/stdio.ts
+++ b/src/stdio.ts
@@ -2,1 +2,0 @@
-* اجرا با stdio — برای کلاینتهایی مثل Claude Desktop که سرور را خودشان اجرا میکنند.
@@ -3,1 +2,0 @@
-* تنظیمات از data/config.json (که با داشبورد پر شده) یا env خوانده میشود.
diff --git a/docker-compose.yml b/docker-compose.yml
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -19,1 +19,0 @@
-# پیشفرض فقط روی localhost سرور باز است (دسترسی با تونل SSH یا از طریق Caddy).
diff --git a/Dockerfile b/Dockerfile
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,1 +21,0 @@
-# پوشهی داده با مالکیت کاربر node (volume همین مالکیت را میگیرد)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -4,1 +4,0 @@
-# Run workflow (دستی) → نسخهی package.json منتشر میشود:
diff --git a/src/core/engine.ts b/src/core/engine.ts
--- a/src/core/engine.ts
+++ b/src/core/engine.ts
@@ -13,1 +13,0 @@
-// پیامهای خطای اعتبارسنجی به فارسی
@@ -17,1 +16,0 @@
-/** نسخه از package.json خوانده میشود (هم در src و هم در dist دو پوشه بالاتر است) */
@@ -27,1 +25,0 @@
-/** پوشهی ذخیرهی config.json */
@@ -41,1 +38,0 @@
-* قلب پروژه: نگهداری سرویسها، تنظیمات، لاگ و ساخت سرور MCP.
diff --git a/src/core/auth.ts b/src/core/auth.ts
--- a/src/core/auth.ts
+++ b/src/core/auth.ts
@@ -21,1 +21,0 @@
-* نشست داشبورد بهصورت کوکی امضاشده (HMAC) — بدون نگهداری در حافظه،
@@ -22,1 +21,0 @@
-* پس با ریاستارت سرور کسی بیرون نمیافتد.
@@ -23,1 +21,0 @@
-* باطل کردن همهی نشستها: بالا بردن epoch (خروج یا تغییر رمز).
diff --git a/src/core/http.ts b/src/core/http.ts
--- a/src/core/http.ts
+++ b/src/core/http.ts
@@ -6,1 +6,0 @@
-/** توکنها را از متن خطا/لاگ پاک میکند */
@@ -42,1 +41,0 @@
-? `زمان پاسخگویی سرور تمام شد (${timeoutMs / 1000} ثانیه)`
diff --git a/src/cli.ts b/src/cli.ts
--- a/src/cli.ts
+++ b/src/cli.ts
@@ -7,1 +7,0 @@
-* diba-mcp netcheck تست دسترسی به API پیامرسانها
@@ -8,1 +7,0 @@
-* diba-mcp selftest bale --send تست کامل یک پیامرسان
@@ -20,1 +18,0 @@
-const HELP = `dibaMCP v${SERVER_VERSION} — سرور MCP برای پیامرسانهای ایرانی، با داشبورد فارسی
Zero-context hunks: apply with git apply --unidiff-zero fix.patch on the tagged source of 0.4.1. 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: dibamcp: Hidden zero-width characters detected (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/dibamcp/0.4.1 ## Findings with a location - `src/netcheck.ts:2` · Hidden zero-width characters detected — src/netcheck.ts:2 · Hidden zero-width characters detected — may conceal content - `src/index.ts:2` · Hidden zero-width characters detected — src/index.ts:2 · Hidden zero-width characters detected — may conceal content - `src/core/inbox.ts:2` · Hidden zero-width characters detected — src/core/inbox.ts:2 · Hidden zero-width characters detected — may conceal content - `src/core/store.ts:19` · Hidden zero-width characters detected — src/core/store.ts:19 · Hidden zero-width characters detected — may conceal content - `test/unit/net.test.ts:57` · Hidden zero-width characters detected — test/unit/net.test.ts:57 · Hidden zero-width characters detected — may conceal content - `src/http/router.ts:11` · Hidden zero-width characters detected — src/http/router.ts:11 · Hidden zero-width characters detected — may conceal content - `src/index.ts:24` · Hidden zero-width characters detected — src/index.ts:24 · Hidden zero-width characters detected — may conceal content - `src/core/store.ts:8` · Hidden zero-width characters detected — src/core/store.ts:8 · Hidden zero-width characters detected — may conceal content - `src/core/testimage.ts:3` · Hidden zero-width characters detected — src/core/testimage.ts:3 · Hidden zero-width characters detected — may conceal content - `src/core/logger.ts:21` · Hidden zero-width characters detected — src/core/logger.ts:21 · Hidden zero-width characters detected — may conceal content - `src/core/inbox.ts:5` · Hidden zero-width characters detected — src/core/inbox.ts:5 · Hidden zero-width characters detected — may conceal content - `src/core/netcheck.ts:26` · Hidden zero-width characters detected — src/core/netcheck.ts:26 · Hidden zero-width characters detected — may conceal content ## Proposed change The attached patch removes the 73 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 yunessfa/diba-MCP --clone && cd diba-MCP curl -s https://killerskills.ai/skills/glama/dibamcp/0.4.1/patch.diff | git apply --unidiff-zero git checkout -b killerskills/0.4.1 && git commit -am "dibamcp: Hidden zero-width characters detected" gh pr create --fill --body-file <(curl -s https://killerskills.ai/skills/glama/dibamcp/0.4.1/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.