@softeria/ms-365-mcp-server 0.118.0 → 0.118.1

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.
@@ -10,9 +10,17 @@ const REDACTIONS = [
10
10
  replacement: "$1[REDACTED]"
11
11
  },
12
12
  // OAuth token fields in query strings or JSON bodies:
13
- // refresh_token=..., "access_token": "...", code=..., client_secret=...
13
+ // refresh_token=..., "access_token": "...", client_secret=...
14
+ // The \b keeps composite keys like `statusCode` from matching via a substring.
14
15
  {
15
- pattern: /(["']?(?:refresh_token|access_token|id_token|client_secret|code|assertion)["']?\s*[=:]\s*["']?)[A-Za-z0-9._~+/-]+=*/gi,
16
+ pattern: /(["']?\b(?:refresh_token|access_token|id_token|client_secret|assertion)["']?\s*[=:]\s*["']?)[A-Za-z0-9._~+/-]+=*/gi,
17
+ replacement: "$1[REDACTED]"
18
+ },
19
+ // OAuth authorization codes, query-string form only (?code=... / &code=...).
20
+ // `code:` in JSON or prose is an error/status code (ECONNRESET, AADSTS...),
21
+ // which must stay readable for diagnostics.
22
+ {
23
+ pattern: /([?&]code=)[^&\s"']+/gi,
16
24
  replacement: "$1[REDACTED]"
17
25
  },
18
26
  // Email addresses / UPNs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softeria/ms-365-mcp-server",
3
- "version": "0.118.0",
3
+ "version": "0.118.1",
4
4
  "description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",