@guardbee/mcp-prompt-leak-scanner 0.1.26 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,212 @@
1
+ # @guardbee/mcp-prompt-leak-scanner
2
+
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#171](https://github.com/GuardBee/guardbee-mcp/pull/171) [`c3b71f8`](https://github.com/GuardBee/guardbee-mcp/commit/c3b71f8e1305cbabe0fa733b13f6eb9a95d08513) Thanks [@4hmetuyar](https://github.com/4hmetuyar)! - 1.0: no API change, a stability promise. From this release the package follows semantic versioning: a breaking change to its CLI, MCP tool names and parameters, config format or exported API comes only with a new major version and is listed here. New rules and detectors arrive in minor versions and can report findings an earlier version did not.
8
+
9
+ ### Minor Changes
10
+
11
+ - [#172](https://github.com/GuardBee/guardbee-mcp/pull/172) [`9ae575f`](https://github.com/GuardBee/guardbee-mcp/commit/9ae575f89aa40b13463460504f12b70011c14947) Thanks [@4hmetuyar](https://github.com/4hmetuyar)! - `security-suite` now covers every GuardBee scanner and auditor (29 packages, 124 MCP tools). `guardbee serve` serves the recommended group by default (owasp-scan, secret-scanner, prompt-injection-scanner, toxic-flow-auditor, mcp-config-auditor, dependency-auditor: 31 tools); `--tools=` (or `GUARDBEE_SUITE_TOOLS`) takes groups (`code`, `supply-chain`, `network`, `platform`, `all`) and package ids. Tool names carry their package's prefix (`secrets_scan_text`, `injection_scan_text`) so packages do not collide. `guardbee <package-id> <args>` runs any package's CLI and `guardbee list` lists them; the old `secret-scan`, `dep-audit`, `ssl-inspect` and `dns-check` shortcuts still work. With no arguments and no terminal on stdin (an MCP client starting it), the suite now serves instead of printing help, and its MCP Registry entry passes `serve`.
12
+
13
+ **Breaking for `guardbee serve` users:** the five plain tool names (`scan_directory`, `scan_file`, `audit_dependencies`, `inspect_ssl`, `check_dns`) are now prefixed package tools; see "Upgrading from 0.2" in the README.
14
+
15
+ Every scanner and auditor package exports `registerTools(server)`, which registers its MCP tools on a given `McpServer`; `startServer()` uses it.
16
+
17
+ ### Patch Changes
18
+
19
+ - [#170](https://github.com/GuardBee/guardbee-mcp/pull/170) [`c71f728`](https://github.com/GuardBee/guardbee-mcp/commit/c71f7284c88f36435d0b2f951d5f167781f89395) Thanks [@4hmetuyar](https://github.com/4hmetuyar)! - Package hygiene: every package now ships its LICENSE and CHANGELOG.md, and has a homepage (its guardbee.ai page), a bugs link, `engines.node` and the `guardbee`, `mcp` and `security` keywords. READMEs gain npm badges and a feedback section pointing to GitHub Discussions; the owasp-scan README documents every mode, option, MCP tool and the OWASP coverage.
20
+
21
+ **Telemetry is now opt-in.** Nothing is sent unless `GUARDBEE_TELEMETRY=1` (or `true`/`on`/`yes`) is set; `GUARDBEE_TELEMETRY=0` is no longer needed. When it is on, the one-time stderr notice says what is sent and to which endpoint.
22
+ - Updated dependencies [[`c71f728`](https://github.com/GuardBee/guardbee-mcp/commit/c71f7284c88f36435d0b2f951d5f167781f89395), [`c3b71f8`](https://github.com/GuardBee/guardbee-mcp/commit/c3b71f8e1305cbabe0fa733b13f6eb9a95d08513)]:
23
+ - @guardbee/guard-core@1.0.0
24
+ - @guardbee/mcp-telemetry@0.2.0
25
+
26
+ ## 0.1.27
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies [[`9599fb6`](https://github.com/GuardBee/guardbee-mcp/commit/9599fb64249dc38baba3fd4b2d1d7fb82dfd6de3)]:
31
+ - @guardbee/guard-core@0.22.0
32
+
33
+ ## 0.1.26
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [[`c1a16b9`](https://github.com/GuardBee/guardbee-mcp/commit/c1a16b9c9f588c4d3735fb45a1339b33119a8de0)]:
38
+ - @guardbee/guard-core@0.21.0
39
+
40
+ ## 0.1.25
41
+
42
+ ### Patch Changes
43
+
44
+ - Updated dependencies [[`e3355b2`](https://github.com/GuardBee/guardbee-mcp/commit/e3355b23654afcb2eb144da18e54fbfdb2817b16)]:
45
+ - @guardbee/guard-core@0.20.0
46
+
47
+ ## 0.1.24
48
+
49
+ ### Patch Changes
50
+
51
+ - Updated dependencies [[`5e6d872`](https://github.com/GuardBee/guardbee-mcp/commit/5e6d872cd6b9014da63743bc2198a0eb159c3b49)]:
52
+ - @guardbee/guard-core@0.19.0
53
+
54
+ ## 0.1.23
55
+
56
+ ### Patch Changes
57
+
58
+ - Updated dependencies [[`d4b24f4`](https://github.com/GuardBee/guardbee-mcp/commit/d4b24f4234e565f4660b3a356140516119ad4548)]:
59
+ - @guardbee/guard-core@0.18.0
60
+
61
+ ## 0.1.22
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies [[`0e96d18`](https://github.com/GuardBee/guardbee-mcp/commit/0e96d18c6d96a505a5cf5774af2a29d323d066e1)]:
66
+ - @guardbee/guard-core@0.17.0
67
+
68
+ ## 0.1.21
69
+
70
+ ### Patch Changes
71
+
72
+ - Updated dependencies [[`a489a7e`](https://github.com/GuardBee/guardbee-mcp/commit/a489a7e06e4dc8dfd208572efbb46e81e0bc3c69)]:
73
+ - @guardbee/guard-core@0.16.0
74
+
75
+ ## 0.1.20
76
+
77
+ ### Patch Changes
78
+
79
+ - Updated dependencies [[`945ed3c`](https://github.com/GuardBee/guardbee-mcp/commit/945ed3c817660b0cf479c2ce1777c1a4cc4ea5c1), [`b3ea8b8`](https://github.com/GuardBee/guardbee-mcp/commit/b3ea8b8cac409b80d9d8fdab5527871509c45232)]:
80
+ - @guardbee/guard-core@0.15.0
81
+
82
+ ## 0.1.19
83
+
84
+ ### Patch Changes
85
+
86
+ - Updated dependencies [[`08cc29e`](https://github.com/GuardBee/guardbee-mcp/commit/08cc29e4ca69af9aaf2bcbbde9f31824c9ada5c7)]:
87
+ - @guardbee/guard-core@0.14.0
88
+
89
+ ## 0.1.18
90
+
91
+ ### Patch Changes
92
+
93
+ - Updated dependencies [[`13c4c8f`](https://github.com/GuardBee/guardbee-mcp/commit/13c4c8f7afb29c7c373f83b1f64ae518edc08a46)]:
94
+ - @guardbee/guard-core@0.13.0
95
+
96
+ ## 0.1.17
97
+
98
+ ### Patch Changes
99
+
100
+ - [#75](https://github.com/GuardBee/guardbee-mcp/pull/75) [`f3b785f`](https://github.com/GuardBee/guardbee-mcp/commit/f3b785fe9454f80720ec36468fee9f5b2e9a70ed) Thanks [@4hmetuyar](https://github.com/4hmetuyar)! - docs: add Chinese (ZH) README translation and short summaries in Japanese, Korean, Brazilian Portuguese, Spanish and German (JA.md, KO.md, PT-BR.md, ES.md, DE.md), with an eight-language switcher
101
+ - Updated dependencies [[`f3b785f`](https://github.com/GuardBee/guardbee-mcp/commit/f3b785fe9454f80720ec36468fee9f5b2e9a70ed)]:
102
+ - @guardbee/guard-core@0.12.1
103
+ - @guardbee/mcp-telemetry@0.1.4
104
+
105
+ ## 0.1.16
106
+
107
+ ### Patch Changes
108
+
109
+ - Updated dependencies [[`a1435e0`](https://github.com/GuardBee/guardbee-mcp/commit/a1435e0710466ba1d2c978dca7bfaca3923ee1a7)]:
110
+ - @guardbee/guard-core@0.12.0
111
+
112
+ ## 0.1.15
113
+
114
+ ### Patch Changes
115
+
116
+ - Updated dependencies [[`64aeffa`](https://github.com/GuardBee/guardbee-mcp/commit/64aeffa43ce641738a9858818aa59d88154bf25a)]:
117
+ - @guardbee/guard-core@0.11.0
118
+
119
+ ## 0.1.14
120
+
121
+ ### Patch Changes
122
+
123
+ - Updated dependencies [[`20bbdc4`](https://github.com/GuardBee/guardbee-mcp/commit/20bbdc49affdebbbfce869d85176ab3b38aa23ce)]:
124
+ - @guardbee/guard-core@0.10.0
125
+
126
+ ## 0.1.13
127
+
128
+ ### Patch Changes
129
+
130
+ - Updated dependencies [[`659b893`](https://github.com/GuardBee/guardbee-mcp/commit/659b893a82c92f6c579ea50de50b942448c23bea)]:
131
+ - @guardbee/guard-core@0.9.0
132
+
133
+ ## 0.1.12
134
+
135
+ ### Patch Changes
136
+
137
+ - Updated dependencies [[`34ead6f`](https://github.com/GuardBee/guardbee-mcp/commit/34ead6fb45d6b093c441b28c83d73107ff20d0a3)]:
138
+ - @guardbee/guard-core@0.8.0
139
+
140
+ ## 0.1.11
141
+
142
+ ### Patch Changes
143
+
144
+ - Updated dependencies [[`aa299d3`](https://github.com/GuardBee/guardbee-mcp/commit/aa299d3d3343bfbf48bc36b78036d7d7cb1565ed)]:
145
+ - @guardbee/guard-core@0.7.0
146
+
147
+ ## 0.1.10
148
+
149
+ ### Patch Changes
150
+
151
+ - Updated dependencies [[`b8dee60`](https://github.com/GuardBee/guardbee-mcp/commit/b8dee60a6092f16ba1442cafafa60fa842cffd42)]:
152
+ - @guardbee/guard-core@0.6.0
153
+
154
+ ## 0.1.9
155
+
156
+ ### Patch Changes
157
+
158
+ - [#42](https://github.com/GuardBee/guardbee-mcp/pull/42) [`033dbda`](https://github.com/GuardBee/guardbee-mcp/commit/033dbda55671b1589fcd2afb0344314fa420ff00) Thanks [@4hmetuyar](https://github.com/4hmetuyar)! - MCP Registry name moves to `io.github.GuardBee/<server>` (`mcpName`), so the Release workflow can publish it to the registry with GitHub OIDC on every release. Earlier versions stay listed under `io.github.4hmetuyar/<server>`.
159
+
160
+ ## 0.1.8
161
+
162
+ ### Patch Changes
163
+
164
+ - Updated dependencies [[`b1de97f`](https://github.com/GuardBee/guardbee-mcp/commit/b1de97f5cbeaf1951798970a56917b8378b45848)]:
165
+ - @guardbee/guard-core@0.5.0
166
+
167
+ ## 0.1.7
168
+
169
+ ### Patch Changes
170
+
171
+ - Updated dependencies [[`75f4bad`](https://github.com/GuardBee/guardbee-mcp/commit/75f4baddd164e252be4f8004e2ec8e0054cbd218)]:
172
+ - @guardbee/guard-core@0.4.0
173
+
174
+ ## 0.1.6
175
+
176
+ ### Patch Changes
177
+
178
+ - Updated dependencies [[`0b02da8`](https://github.com/GuardBee/guardbee-mcp/commit/0b02da8ed7338c4f7dd1939d4e5be4ecd5f63a35)]:
179
+ - @guardbee/guard-core@0.3.0
180
+
181
+ ## 0.1.5
182
+
183
+ ### Patch Changes
184
+
185
+ - Docs: add a Simplified Chinese README (`ZH.md`) and link it from the English and Turkish ones. Correct stale counts (secret-scanner: 38 patterns and 39 tests; prompt-injection-scanner: 45 tests) and add a Turkish README for guard-core. No code changes.
186
+ - Updated dependencies [`243991e`]:
187
+ - @guardbee/guard-core@0.2.1
188
+
189
+ ## 0.1.4
190
+
191
+ ### Patch Changes
192
+
193
+ - Updated dependencies [`15fb399`]:
194
+ - @guardbee/guard-core@0.2.0
195
+
196
+ ## 0.1.3
197
+
198
+ ### Patch Changes
199
+
200
+ - Move shared detectors into the new `@guardbee/guard-core` library.
201
+
202
+ security-proxy now validates PII matches before masking them: a TC Kimlik No must pass the official checksum, an IBAN must pass mod-97, and a card number must pass Luhn. Order numbers and other 11- or 16-digit values are no longer masked by mistake.
203
+
204
+ toxic-flow-auditor and prompt-leak-scanner now import tool classification and checksum validators from guard-core. prompt-leak-scanner behaves as before; for toxic-flow-auditor see the snake_case classification fix.
205
+
206
+ ## 0.1.1
207
+
208
+ ### Patch Changes
209
+
210
+ - [#4](https://github.com/GuardBee/guardbee-mcp/pull/4) [`72a8129`](https://github.com/GuardBee/guardbee-mcp/commit/72a81293820c7d41047bca38ccc25ed6fa676297) Thanks [@4hmetuyar](https://github.com/4hmetuyar)! - Fix MCP contracts that disagreed with the implementation: dependency-auditor no longer claims Cargo manifest scanning and parses npm lockfile names, PEP 621 pyproject files, and CVSS vectors; rug-pull `--no-auto-baseline` does not report a baseline it did not save; the security proxy honors warn mode and `PROXY_*` settings; scanners reject a non-positive `maxFiles` and document exclude entries as path substrings. `@guardbee/mcp-telemetry` now has a CommonJS export so the CommonJS `db-gateway` and `security-proxy` binaries can load it.
211
+ - Updated dependencies [[`72a8129`](https://github.com/GuardBee/guardbee-mcp/commit/72a81293820c7d41047bca38ccc25ed6fa676297)]:
212
+ - @guardbee/mcp-telemetry@0.1.3
package/DE.md CHANGED
@@ -40,8 +40,12 @@ Details zu jedem Tool stehen in [README.md](README.md).
40
40
  npx @guardbee/mcp-prompt-leak-scanner --help
41
41
  ```
42
42
 
43
- > Dieses Paket sendet standardmäßig anonyme Nutzungstelemetrie (nur Tool-Name und kurze Parameter). Abschalten mit `GUARDBEE_TELEMETRY=0`.
43
+ > Telemetrie ist standardmäßig **aus**. Mit `GUARDBEE_TELEMETRY=1` werden Server, Tool, Erfolg, Dauer und kurze Parameterwerte wie ein Dateipfad gesendet; längere Strings und Felder wie `content`, `token` oder `password` werden durch einen Platzhalter ersetzt. Siehe [`@guardbee/mcp-telemetry`](../telemetry/DE.md).
44
44
 
45
45
  ## Lizenz
46
46
 
47
47
  MIT — [GuardBee](https://guardbee.ai)
48
+
49
+ ## Feedback
50
+
51
+ Fragen, Ideen oder ein Fehlalarm? Starte eine Diskussion in [GitHub Discussions](https://github.com/GuardBee/guardbee-mcp/discussions) oder [öffne ein Issue](https://github.com/GuardBee/guardbee-mcp/issues). Wenn GuardBee dir hilft, hilft ein ⭐ für [das Repository](https://github.com/GuardBee/guardbee-mcp) anderen, es zu finden.
package/ES.md CHANGED
@@ -40,8 +40,12 @@ Los detalles de cada herramienta están en [README.md](README.md).
40
40
  npx @guardbee/mcp-prompt-leak-scanner --help
41
41
  ```
42
42
 
43
- > Este paquete envía telemetría de uso anónima por defecto (solo el nombre de la herramienta y parámetros cortos). Desactívala con `GUARDBEE_TELEMETRY=0`.
43
+ > La telemetría está **desactivada** por defecto. Con `GUARDBEE_TELEMETRY=1` se envían el servidor, la herramienta, el éxito, la duración y valores cortos de parámetros, como una ruta de archivo; los textos más largos y campos como `content`, `token` o `password` se sustituyen por un marcador. Consulta [`@guardbee/mcp-telemetry`](../telemetry/ES.md).
44
44
 
45
45
  ## Licencia
46
46
 
47
47
  MIT — [GuardBee](https://guardbee.ai)
48
+
49
+ ## Comentarios
50
+
51
+ ¿Preguntas, ideas o un falso positivo? Abre un hilo en [GitHub Discussions](https://github.com/GuardBee/guardbee-mcp/discussions) o [una issue](https://github.com/GuardBee/guardbee-mcp/issues). Si GuardBee te resulta útil, una ⭐ en [el repositorio](https://github.com/GuardBee/guardbee-mcp) ayuda a que otros lo encuentren.
package/JA.md CHANGED
@@ -40,8 +40,12 @@ Claude Desktop:
40
40
  npx @guardbee/mcp-prompt-leak-scanner --help
41
41
  ```
42
42
 
43
- > このパッケージは既定で匿名の利用テレメトリ(ツール名と短いパラメータのみ)を送信します。`GUARDBEE_TELEMETRY=0` で無効にできます。
43
+ > テレメトリはデフォルトで**無効**です。`GUARDBEE_TELEMETRY=1` を設定すると、サーバー、ツール、成否、所要時間、ファイルパスなどの短いパラメータ値が送信されます。長い文字列や `content`、`token`、`password` などのフィールドはプレースホルダーに置き換えられます。詳しくは [`@guardbee/mcp-telemetry`](../telemetry/JA.md) を参照してください。
44
44
 
45
45
  ## ライセンス
46
46
 
47
47
  MIT — [GuardBee](https://guardbee.ai)
48
+
49
+ ## フィードバック
50
+
51
+ 質問、アイデア、誤検知の報告は [GitHub Discussions](https://github.com/GuardBee/guardbee-mcp/discussions) か [issue](https://github.com/GuardBee/guardbee-mcp/issues) へどうぞ。GuardBee が役に立ったら、[リポジトリ](https://github.com/GuardBee/guardbee-mcp)への ⭐ が他の人の発見につながります。
package/KO.md CHANGED
@@ -40,8 +40,12 @@ Claude Desktop:
40
40
  npx @guardbee/mcp-prompt-leak-scanner --help
41
41
  ```
42
42
 
43
- > 이 패키지는 기본적으로 익명 사용 원격 측정(도구 이름과 짧은 매개변수만)을 전송합니다. `GUARDBEE_TELEMETRY=0`으로 끌 수 있습니다.
43
+ > 텔레메트리는 기본적으로 **꺼져** 있습니다. `GUARDBEE_TELEMETRY=1`을 설정하면 서버, 도구, 성공 여부, 소요 시간, 파일 경로 같은 짧은 파라미터 값이 전송되며, 더 긴 문자열과 `content`, `token`, `password` 같은 필드는 플레이스홀더로 대체됩니다. [`@guardbee/mcp-telemetry`](../telemetry/KO.md) 참고.
44
44
 
45
45
  ## 라이선스
46
46
 
47
47
  MIT — [GuardBee](https://guardbee.ai)
48
+
49
+ ## 피드백
50
+
51
+ 질문, 아이디어, 오탐이 있나요? [GitHub Discussions](https://github.com/GuardBee/guardbee-mcp/discussions)에 글을 남기거나 [이슈를 열어](https://github.com/GuardBee/guardbee-mcp/issues) 주세요. GuardBee가 도움이 되었다면 [저장소](https://github.com/GuardBee/guardbee-mcp)에 ⭐를 눌러 다른 사람도 찾을 수 있게 해 주세요.
package/PT-BR.md CHANGED
@@ -40,8 +40,12 @@ Os detalhes de cada ferramenta estão em [README.md](README.md).
40
40
  npx @guardbee/mcp-prompt-leak-scanner --help
41
41
  ```
42
42
 
43
- > Este pacote envia telemetria de uso anônima por padrão (apenas o nome da ferramenta e parâmetros curtos). Desative com `GUARDBEE_TELEMETRY=0`.
43
+ > A telemetria vem **desativada** por padrão. Com `GUARDBEE_TELEMETRY=1`, são enviados o servidor, a ferramenta, o sucesso, a duração e valores curtos de parâmetros, como um caminho de arquivo; textos mais longos e campos como `content`, `token` ou `password` são substituídos por um marcador. Veja [`@guardbee/mcp-telemetry`](../telemetry/PT-BR.md).
44
44
 
45
45
  ## Licença
46
46
 
47
47
  MIT — [GuardBee](https://guardbee.ai)
48
+
49
+ ## Feedback
50
+
51
+ Dúvidas, ideias ou um falso positivo? Abra um tópico no [GitHub Discussions](https://github.com/GuardBee/guardbee-mcp/discussions) ou [uma issue](https://github.com/GuardBee/guardbee-mcp/issues). Se o GuardBee for útil para você, uma ⭐ no [repositório](https://github.com/GuardBee/guardbee-mcp) ajuda outras pessoas a encontrá-lo.
package/README.md CHANGED
@@ -2,11 +2,15 @@
2
2
 
3
3
  **🇬🇧 English** | [🇹🇷 Türkçe](TR.md) | [🇨🇳 中文](ZH.md) | [🇯🇵 日本語](JA.md) | [🇰🇷 한국어](KO.md) | [🇧🇷 Português](PT-BR.md) | [🇪🇸 Español](ES.md) | [🇩🇪 Deutsch](DE.md)
4
4
 
5
+ [![npm version](https://img.shields.io/npm/v/@guardbee/mcp-prompt-leak-scanner.svg)](https://www.npmjs.com/package/@guardbee/mcp-prompt-leak-scanner)
6
+ [![npm downloads](https://img.shields.io/npm/dm/@guardbee/mcp-prompt-leak-scanner.svg)](https://www.npmjs.com/package/@guardbee/mcp-prompt-leak-scanner)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
8
+
5
9
  An MCP (Model Context Protocol) server — and a standalone reverse proxy — that catches leaked credentials and PII in **outbound** LLM prompts, before they leave your application.
6
10
 
7
11
  `secret-scanner` finds secrets sitting in your codebase. This package finds secrets and PII that made it into a *runtime prompt* — a support agent that pastes a customer's ticket (email, card number) straight into a system prompt, a debugging session where someone pastes an API key into a chat, an internal tool that forwards raw user input to an LLM without ever checking what's in it. That's a different moment in the pipeline, and a different failure mode than a leaked `.env` file.
8
12
 
9
- > This package sends usage telemetry by default (tool name + short parameters, prompt content and audit findings are never included — see [`@guardbee/mcp-telemetry`](../telemetry/README.md)). Disable with `GUARDBEE_TELEMETRY=0`.
13
+ > Telemetry is **off** by default. With `GUARDBEE_TELEMETRY=1` it sends the server, tool, success, duration and short parameter values such as a file path; longer strings and fields like `content`, `token` or `password` are replaced with a placeholder. See [`@guardbee/mcp-telemetry`](../telemetry/README.md).
10
14
 
11
15
  ```
12
16
  Your app ──► prompt-leak-scanner (proxy) ──► Real LLM API (OpenAI/Anthropic/...)
@@ -144,3 +148,7 @@ npm test # 29 unit tests
144
148
  ## License
145
149
 
146
150
  MIT — [GuardBee](https://guardbee.ai)
151
+
152
+ ## Feedback
153
+
154
+ Questions, ideas, or a false positive? Start a thread in [GitHub Discussions](https://github.com/GuardBee/guardbee-mcp/discussions) or [open an issue](https://github.com/GuardBee/guardbee-mcp/issues). If GuardBee is useful to you, a ⭐ on [the repository](https://github.com/GuardBee/guardbee-mcp) helps others find it.
package/TR.md CHANGED
@@ -6,7 +6,7 @@ MCP (Model Context Protocol) sunucusu — ve bağımsız bir reverse proxy — *
6
6
 
7
7
  `secret-scanner` kod tabanınızda duran sırları bulur. Bu paket ise bir *runtime prompt*'a giren sır ve PII'yi bulur — bir müşteri destek agent'ının bir ticket'ı (email, kart no) doğrudan system prompt'a yapıştırması, birinin debug sırasında bir chat'e API key yapıştırması, ham kullanıcı girdisini hiç kontrol etmeden LLM'e ileten bir internal tool. Bu, pipeline'da farklı bir an ve sızmış bir `.env` dosyasından farklı bir hata modu.
8
8
 
9
- > Bu paket varsayılan olarak kullanım telemetrisi gönderir (tool adı + kısa parametreler, prompt içeriği ve audit bulguları hiçbir zaman dahil değil — bkz. [`@guardbee/mcp-telemetry`](../telemetry/TR.md)). Kapatmak için `GUARDBEE_TELEMETRY=0`.
9
+ > Telemetri varsayılan olarak **kapalıdır**. `GUARDBEE_TELEMETRY=1` ile açılırsa sunucu, tool, başarı, süre ve dosya yolu gibi kısa parametre değerleri gönderilir; daha uzun metinler ve `content`, `token`, `password` gibi alanlar yer tutucuyla değiştirilir. Bkz. [`@guardbee/mcp-telemetry`](../telemetry/TR.md).
10
10
 
11
11
  ```
12
12
  Uygulamanız ──► prompt-leak-scanner (proxy) ──► Gerçek LLM API (OpenAI/Anthropic/...)
@@ -144,3 +144,7 @@ npm test # 29 unit test
144
144
  ## Lisans
145
145
 
146
146
  MIT — [GuardBee](https://guardbee.ai)
147
+
148
+ ## Geri bildirim
149
+
150
+ Sorunuz, öneriniz ya da yanlış bir alarm mı var? [GitHub Discussions](https://github.com/GuardBee/guardbee-mcp/discussions)'ta bir konu açın veya [issue oluşturun](https://github.com/GuardBee/guardbee-mcp/issues). GuardBee işinize yaradıysa [repoya](https://github.com/GuardBee/guardbee-mcp) bir ⭐ başkalarının da bulmasına yardım eder.
package/ZH.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  `secret-scanner` 查找躺在代码库里的密钥。本包查找的是进入了*运行时 prompt* 的密钥和 PII——客服智能体把客户工单(邮箱、银行卡号)直接贴进系统提示词,调试时有人把 API 密钥贴进聊天,内部工具把原始用户输入原封不动地转发给 LLM 而从不检查内容。这发生在流水线的另一个时刻,也是一种与泄露 `.env` 文件不同的失败模式。
8
8
 
9
- > 本包默认发送使用遥测(工具名 + 较短的参数,绝不包含 prompt 内容和审计发现——见 [`@guardbee/mcp-telemetry`](../telemetry/README.md))。设置 `GUARDBEE_TELEMETRY=0` 即可关闭。
9
+ > 遥测默认**关闭**。设置 `GUARDBEE_TELEMETRY=1` 后会发送服务器、工具、成功与否、耗时以及文件路径等简短参数值;更长的字符串和 `content`、`token`、`password` 等字段会被占位符替换。参见 [`@guardbee/mcp-telemetry`](../telemetry/ZH.md)。
10
10
 
11
11
  ```
12
12
  你的应用 ──► prompt-leak-scanner(代理)──► 真实 LLM API(OpenAI/Anthropic/...)
@@ -144,3 +144,7 @@ npm test # 29 个单元测试
144
144
  ## 许可证
145
145
 
146
146
  MIT — [GuardBee](https://guardbee.ai)
147
+
148
+ ## 反馈
149
+
150
+ 有问题、想法或误报?请在 [GitHub Discussions](https://github.com/GuardBee/guardbee-mcp/discussions) 发帖或[提交 issue](https://github.com/GuardBee/guardbee-mcp/issues)。如果 GuardBee 对你有帮助,给[仓库](https://github.com/GuardBee/guardbee-mcp)点个 ⭐ 能让更多人发现它。
package/dist/index.d.ts CHANGED
@@ -4,4 +4,5 @@ export { LEAK_PATTERNS } from "./patterns.js";
4
4
  export type { LeakPattern, LeakCategory } from "./patterns.js";
5
5
  export { startProxy } from "./proxy.js";
6
6
  export type { ProxyOptions, ProxyMode, AuditEvent } from "./proxy.js";
7
+ export { registerTools } from "./server.js";
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC1G,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC1G,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export { scanText, scanAndRedactText, scanBody, redactBody, scanFile, scanDirectory } from "./scanner.js";
2
2
  export { LEAK_PATTERNS } from "./patterns.js";
3
3
  export { startProxy } from "./proxy.js";
4
+ export { registerTools } from "./server.js";
4
5
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE1G,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE1G,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC"}
package/dist/server.d.ts CHANGED
@@ -1,2 +1,5 @@
1
+ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
1
2
  export declare function startServer(): Promise<void>;
3
+ /** This package's MCP tools on `server`; @guardbee/security-suite serves several packages' tools from one process this way. */
4
+ export declare function registerTools(server: McpServer): void;
2
5
  //# sourceMappingURL=server.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAiCA,wBAAsB,WAAW,kBAsFhC"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAiCpE,wBAAsB,WAAW,kBAShC;AAED,+HAA+H;AAC/H,wBAAgB,aAAa,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA6ErD"}
package/dist/server.js CHANGED
@@ -31,6 +31,12 @@ export async function startServer() {
31
31
  version: "0.1.0",
32
32
  });
33
33
  instrumentServer(server, "prompt-leak-scanner");
34
+ registerTools(server);
35
+ const transport = new StdioServerTransport();
36
+ await server.connect(transport);
37
+ }
38
+ /** This package's MCP tools on `server`; @guardbee/security-suite serves several packages' tools from one process this way. */
39
+ export function registerTools(server) {
34
40
  server.tool("scan_text", "Scan a raw text string (e.g. a prompt you're about to send to an LLM) for leaked credentials (API keys, private keys, JWTs) and PII (TC Kimlik No, credit card, IBAN, email, phone) — checksum-validated where applicable to keep false positives low.", {
35
41
  content: z.string().describe("The text to scan"),
36
42
  label: z.string().optional().describe("Optional label shown in findings"),
@@ -79,7 +85,5 @@ export async function startServer() {
79
85
  lines.push("Use the `proxy` CLI command to run this as a live reverse proxy in front of a real LLM API (monitor/redact/block modes).");
80
86
  return { content: [{ type: "text", text: lines.join("\n") }] };
81
87
  });
82
- const transport = new StdioServerTransport();
83
- await server.connect(transport);
84
88
  }
85
89
  //# sourceMappingURL=server.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG9C,SAAS,cAAc,CAAC,QAAmB,EAAE,YAAoB,EAAE,UAAkB;IACnF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,iDAAiD,YAAY,eAAe,UAAU,KAAK,CAAC;IACrG,CAAC;IAED,MAAM,UAAU,GAAG,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;IAC/D,KAAK,MAAM,CAAC,IAAI,QAAQ;QAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC;IAEnD,MAAM,KAAK,GAAa;QACtB,aAAa,QAAQ,CAAC,MAAM,kBAAkB,YAAY,aAAa,UAAU,KAAK;QACtF,gB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E,CAAC;YAC9C,KAAK,CAAC,IAAI,CAAC,IAAI,QAAQ,GAAG,CAAC,CAAC;YAC5B,KAAK,MAAM,CAAC,IAAI,QAAQ;gBAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YAC3H,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACjB,CAAC;QACD,KAAK,CAAC,IAAI,CAAC,0HAA0H,CAAC,CAAC;QACvI,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;IACjE,CAAC,CACF,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guardbee/mcp-prompt-leak-scanner",
3
- "version": "0.1.26",
3
+ "version": "1.0.0",
4
4
  "mcpName": "io.github.GuardBee/prompt-leak-scanner",
5
5
  "description": "MCP server and reverse proxy that catches leaked credentials and PII (API keys, TC Kimlik No, credit cards, IBANs) in outbound LLM prompts before they leave your application",
6
6
  "type": "module",
@@ -24,13 +24,15 @@
24
24
  "KO.md",
25
25
  "PT-BR.md",
26
26
  "ES.md",
27
- "DE.md"
27
+ "DE.md",
28
+ "LICENSE",
29
+ "CHANGELOG.md"
28
30
  ],
29
31
  "dependencies": {
30
32
  "@modelcontextprotocol/sdk": "^1.0.0",
31
33
  "zod": "^4.5.4",
32
- "@guardbee/guard-core": "^0.21.0",
33
- "@guardbee/mcp-telemetry": "^0.1.4"
34
+ "@guardbee/guard-core": "^1.0.0",
35
+ "@guardbee/mcp-telemetry": "^0.2.0"
34
36
  },
35
37
  "keywords": [
36
38
  "mcp",
@@ -49,6 +51,13 @@
49
51
  "url": "https://github.com/GuardBee/guardbee-mcp.git",
50
52
  "directory": "packages/prompt-leak-scanner"
51
53
  },
54
+ "homepage": "https://guardbee.ai/en/what-is-mcp-prompt-leak-scanner/",
55
+ "bugs": {
56
+ "url": "https://github.com/GuardBee/guardbee-mcp/issues"
57
+ },
58
+ "engines": {
59
+ "node": ">=18"
60
+ },
52
61
  "scripts": {
53
62
  "build": "tsc",
54
63
  "dev": "tsc --watch",