← bonbama-mcp@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. 79 · Caution

Evidence

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

Diff · removes 26 caught lines

Download .patch
diff --git a/src/bonbama_mcp/bonbama.py b/src/bonbama_mcp/bonbama.py
--- a/src/bonbama_mcp/bonbama.py
+++ b/src/bonbama_mcp/bonbama.py
@@ -10,1 +10,0 @@
-"کسب‌وکارهای …" heading.
@@ -317,1 +316,0 @@
-r"\s+(?P<sent>[\d,٬۰-۹]+)\s+ارسال‌شده"
@@ -324,1 +322,0 @@
-# 1,105 ارسال‌شده مشاهده" (or "<amount> تومان تخفیف" instead of ٪).
@@ -368,1 +365,0 @@
-The listing sits under the "کسب‌وکارهای …" heading; slice to it so
@@ -372,1 +368,0 @@
-start = page.find("کسب‌وکارهای")
diff --git a/tests/fixtures/category-zban.html b/tests/fixtures/category-zban.html
--- a/tests/fixtures/category-zban.html
+++ b/tests/fixtures/category-zban.html
@@ -1,1 +1,0 @@
-<html><head><title>کد تخفیف آموزش زبان | خرید ارزان دوره‌های زبان با تخفیف بن با ما</title></head><body>کسب‌وکارهای «زبان» و تخفیف‌های فعالشان را ببینید و بر اساس امتیاز کاربران انتخاب کنید.
@@ -4,1 +3,0 @@
-<a href="#deals" class="inline-flex h-11 flex-1 items-center justify-center rounded-2xl bg-[color:var(--cat-ink)] px-4 text-sm font-extrabold text-white shadow sm:flex-none">تخفیف‌های فعال ↓</a>
@@ -5,1 +3,0 @@
-…hite/75 px-4 text-sm font-bold text-[color:var(--cat-ink)] sm:flex-none">همه کسب‌وکارها</a> </div> …
diff --git a/tests/fixtures/articles-index.html b/tests/fixtures/articles-index.html
--- a/tests/fixtures/articles-index.html
+++ b/tests/fixtures/articles-index.html
@@ -48,1 +48,0 @@
-alt="بلک فرایدی ۱۴۰۵؛ راهنمای کامل خرید (تاریخ دقیق، فروشگاه‌ها و تخفیف‌های واقعی)"
@@ -55,1 +54,0 @@
-بلک فرایدی ۱۴۰۵؛ راهنمای کامل خرید (تاریخ دقیق، فروشگاه‌ها و تخفیف‌های واقعی)
@@ -66,1 +64,0 @@
-alt="خرید قسطی بدون بهره؛ راهنمای کامل (اسنپ‌پی، دیجی‌پی، تارا، ازکی‌وام و وایب)"
diff --git a/tests/fixtures/search-campaigns.html b/tests/fixtures/search-campaigns.html
--- a/tests/fixtures/search-campaigns.html
+++ b/tests/fixtures/search-campaigns.html
@@ -56,1 +56,0 @@
-1,105 ارسال‌شده
@@ -78,1 +77,0 @@
-alt="تا 20 درصد تخفیف ویژه حراج آی‌بولک"
@@ -89,1 +87,0 @@
-…ite shadow-sm ring-1 backdrop-blur-sm bg-white/25 ring-white/35 line-clamp-1">آی‌بولک</span> </div> </div> …
@@ -101,1 +98,0 @@
-<h2 class="line-clamp-2 text-base font-bold leading-snug text-slate-900 max-[600px]:text-sm">تا 20 درصد تخفیف ویژه حراج آی‌بولک</h2>
@@ -119,1 +115,0 @@
-285 ارسال‌شده
diff --git a/tests/fixtures/home-categories.html b/tests/fixtures/home-categories.html
--- a/tests/fixtures/home-categories.html
+++ b/tests/fixtures/home-categories.html
@@ -24,1 +24,0 @@
-۱۶ کسب‌وکار
@@ -46,1 +45,0 @@
-۶ کسب‌وکار
@@ -68,1 +66,0 @@
-۲ کسب‌وکار
@@ -90,1 +87,0 @@
-۱۱ کسب‌وکار
@@ -112,1 +108,0 @@
-۴ کسب‌وکار
diff --git a/tests/fixtures/business-testino.html b/tests/fixtures/business-testino.html
--- a/tests/fixtures/business-testino.html
+++ b/tests/fixtures/business-testino.html
@@ -1,1 +1,0 @@
-…| پلتفرم آمادگی تافل، آیلتس و GRE</title><meta name="description" content="کمپین‌ها و کدهای تخفیف تستینو؛ پلتفرم فارسی آمادگی تافل، آیلتس و GRE با آزمون شبیه‌ساز…
diff --git a/tests/fixtures/business-takchh.html b/tests/fixtures/business-takchh.html
--- a/tests/fixtures/business-takchh.html
+++ b/tests/fixtures/business-takchh.html
@@ -1,1 +1,0 @@
-…رزان از فروشگاه‌های حضوری و اینترنتی.","inLanguage":"fa-IR","publisher":{"@id":"https://bonbama.ir/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://bonba…
diff --git a/tests/fixtures/search-companies.html b/tests/fixtures/search-companies.html
--- a/tests/fixtures/search-companies.html
+++ b/tests/fixtures/search-companies.html
@@ -44,1 +44,0 @@
-<p class="text-center text-sm text-slate-500 md:text-base" id="search-empty-state-text">کسب‌وکاری با این فیلترها پیدا نشد.</p>
@@ -92,1 +91,0 @@
-<p class="text-center text-sm text-slate-500">در حال بارگذاری کسب‌وکارهای بیشتر...</p>
diff --git a/tests/test_bonbama.py b/tests/test_bonbama.py
--- a/tests/test_bonbama.py
+++ b/tests/test_bonbama.py
@@ -54,1 +54,0 @@
-self.assertIn("۵۰٪ تخفیف اولین خرید طاقچه — فقط از طریق بن‌باما", titles)

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: bonbama-mcp: Hidden zero-width characters detected (KillerSkills verdict caution 79)

## 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 79/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/bonbama-mcp/0.1.0

## Findings with a location
- `src/bonbama_mcp/bonbama.py:324` · Hidden zero-width characters detected — src/bonbama_mcp/bonbama.py:324 · Hidden zero-width characters detected — may conceal content
- `src/bonbama_mcp/bonbama.py:368` · Hidden zero-width characters detected — src/bonbama_mcp/bonbama.py:368 · Hidden zero-width characters detected — may conceal content
- `src/bonbama_mcp/bonbama.py:10` · Hidden zero-width characters detected — src/bonbama_mcp/bonbama.py:10 · Hidden zero-width characters detected — may conceal content
- `src/bonbama_mcp/bonbama.py:317` · Hidden zero-width characters detected — src/bonbama_mcp/bonbama.py:317 · Hidden zero-width characters detected — may conceal content
- `src/bonbama_mcp/bonbama.py:372` · Hidden zero-width characters detected — src/bonbama_mcp/bonbama.py:372 · Hidden zero-width characters detected — may conceal content
- `tests/fixtures/category-zban.html:1` · Hidden zero-width characters detected — tests/fixtures/category-zban.html:1 · Hidden zero-width characters detected — may conceal content
- `tests/fixtures/articles-index.html:66` · Hidden zero-width characters detected — tests/fixtures/articles-index.html:66 · Hidden zero-width characters detected — may conceal content
- `tests/fixtures/articles-index.html:48` · Hidden zero-width characters detected — tests/fixtures/articles-index.html:48 · Hidden zero-width characters detected — may conceal content
- `tests/fixtures/category-zban.html:5` · Hidden zero-width characters detected — tests/fixtures/category-zban.html:5 · Hidden zero-width characters detected — may conceal content
- `tests/fixtures/search-campaigns.html:56` · Hidden zero-width characters detected — tests/fixtures/search-campaigns.html:56 · Hidden zero-width characters detected — may conceal content
- `tests/fixtures/home-categories.html:46` · Hidden zero-width characters detected — tests/fixtures/home-categories.html:46 · Hidden zero-width characters detected — may conceal content
- `tests/fixtures/business-testino.html:1` · Hidden zero-width characters detected — tests/fixtures/business-testino.html:1 · Hidden zero-width characters detected — may conceal content

## Proposed change
The attached patch removes the 26 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._
No GitHub source is recorded for this package, so there is nothing to open; paste the body into the registry's support channel.

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.