@bryan-thompson/inspector-assessment-client 1.19.0 → 1.19.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.
- package/dist/assets/{OAuthCallback-D_dKq_wM.js → OAuthCallback-BDIUPkR-.js} +1 -1
- package/dist/assets/{OAuthDebugCallback-UqARwe_4.js → OAuthDebugCallback-DPLV3zir.js} +1 -1
- package/dist/assets/{index-B5_VY0TC.js → index-DKTSB7VQ.js} +4 -12
- package/dist/index.html +1 -1
- package/lib/services/assessment/modules/SecurityAssessor.d.ts.map +1 -1
- package/lib/services/assessment/modules/SecurityAssessor.js +2 -6
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useToast, r as reactExports, j as jsxRuntimeExports, p as parseOAuthCallbackParams, g as generateOAuthErrorDescription, S as SESSION_KEYS, I as InspectorOAuthClientProvider, a as auth } from "./index-
|
|
1
|
+
import { u as useToast, r as reactExports, j as jsxRuntimeExports, p as parseOAuthCallbackParams, g as generateOAuthErrorDescription, S as SESSION_KEYS, I as InspectorOAuthClientProvider, a as auth } from "./index-DKTSB7VQ.js";
|
|
2
2
|
const OAuthCallback = ({ onConnect }) => {
|
|
3
3
|
const { toast } = useToast();
|
|
4
4
|
const hasProcessedRef = reactExports.useRef(false);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as reactExports, S as SESSION_KEYS, p as parseOAuthCallbackParams, j as jsxRuntimeExports, g as generateOAuthErrorDescription } from "./index-
|
|
1
|
+
import { r as reactExports, S as SESSION_KEYS, p as parseOAuthCallbackParams, j as jsxRuntimeExports, g as generateOAuthErrorDescription } from "./index-DKTSB7VQ.js";
|
|
2
2
|
const OAuthDebugCallback = ({ onConnect }) => {
|
|
3
3
|
reactExports.useEffect(() => {
|
|
4
4
|
let isProcessed = false;
|
|
@@ -53110,11 +53110,7 @@ class SecurityAssessor extends BaseAssessor {
|
|
|
53110
53110
|
/gateway timeout/i,
|
|
53111
53111
|
// HTTP 504 (gateway timeout)
|
|
53112
53112
|
/unknown tool:/i,
|
|
53113
|
-
//
|
|
53114
|
-
/tool.*not found/i,
|
|
53115
|
-
// Alternative phrasing for missing tool
|
|
53116
|
-
/tool.*does not exist/i,
|
|
53117
|
-
// Alternative phrasing for missing tool
|
|
53113
|
+
// MCP spec format: "Unknown tool: <name>"
|
|
53118
53114
|
/no such tool/i
|
|
53119
53115
|
// Alternative phrasing for missing tool
|
|
53120
53116
|
];
|
|
@@ -53182,11 +53178,7 @@ class SecurityAssessor extends BaseAssessor {
|
|
|
53182
53178
|
/gateway timeout/i,
|
|
53183
53179
|
// HTTP 504 (gateway timeout)
|
|
53184
53180
|
/unknown tool:/i,
|
|
53185
|
-
//
|
|
53186
|
-
/tool.*not found/i,
|
|
53187
|
-
// Alternative phrasing for missing tool
|
|
53188
|
-
/tool.*does not exist/i,
|
|
53189
|
-
// Alternative phrasing for missing tool
|
|
53181
|
+
// MCP spec format: "Unknown tool: <name>"
|
|
53190
53182
|
/no such tool/i
|
|
53191
53183
|
// Alternative phrasing for missing tool
|
|
53192
53184
|
];
|
|
@@ -59061,13 +59053,13 @@ const App = () => {
|
|
|
59061
59053
|
) });
|
|
59062
59054
|
if (window.location.pathname === "/oauth/callback") {
|
|
59063
59055
|
const OAuthCallback = React.lazy(
|
|
59064
|
-
() => __vitePreload(() => import("./OAuthCallback-
|
|
59056
|
+
() => __vitePreload(() => import("./OAuthCallback-BDIUPkR-.js"), true ? [] : void 0)
|
|
59065
59057
|
);
|
|
59066
59058
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(OAuthCallback, { onConnect: onOAuthConnect }) });
|
|
59067
59059
|
}
|
|
59068
59060
|
if (window.location.pathname === "/oauth/callback/debug") {
|
|
59069
59061
|
const OAuthDebugCallback = React.lazy(
|
|
59070
|
-
() => __vitePreload(() => import("./OAuthDebugCallback-
|
|
59062
|
+
() => __vitePreload(() => import("./OAuthDebugCallback-DPLV3zir.js"), true ? [] : void 0)
|
|
59071
59063
|
);
|
|
59072
59064
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(OAuthDebugCallback, { onConnect: onOAuthDebugConnect }) });
|
|
59073
59065
|
}
|
package/dist/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/mcp.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>MCP Inspector</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-DKTSB7VQ.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-32-uLPhe.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecurityAssessor.d.ts","sourceRoot":"","sources":["../../../../src/services/assessment/modules/SecurityAssessor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,kBAAkB,EAInB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAc9D,qBAAa,gBAAiB,SAAQ,YAAY;IAChD,OAAO,CAAC,iBAAiB,CAAuC;IAC1D,MAAM,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAuFrE;;OAEG;IACH,OAAO,CAAC,qBAAqB;IAkC7B;;;;OAIG;YACW,yBAAyB;IAuKvC;;;;OAIG;YACW,qBAAqB;IA2JnC;;OAEG;YACW,WAAW;IA2HzB;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;
|
|
1
|
+
{"version":3,"file":"SecurityAssessor.d.ts","sourceRoot":"","sources":["../../../../src/services/assessment/modules/SecurityAssessor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,kBAAkB,EAInB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAc9D,qBAAa,gBAAiB,SAAQ,YAAY;IAChD,OAAO,CAAC,iBAAiB,CAAuC;IAC1D,MAAM,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAuFrE;;OAEG;IACH,OAAO,CAAC,qBAAqB;IAkC7B;;;;OAIG;YACW,yBAAyB;IAuKvC;;;;OAIG;YACW,qBAAqB;IA2JnC;;OAEG;YACW,WAAW;IA2HzB;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IAgDzB;;;OAGG;IACH,OAAO,CAAC,8BAA8B;IAiDtC;;OAEG;IACH,OAAO,CAAC,aAAa;IA+BrB;;OAEG;IACH,OAAO,CAAC,0BAA0B;IAgClC;;;OAGG;IACH,OAAO,CAAC,eAAe;IA6HvB;;;;;;;OAOG;IACH,OAAO,CAAC,qBAAqB;IAiE7B;;;;;;;;;OASG;IACH,OAAO,CAAC,oBAAoB;IAqC5B;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;IAsB3B;;;;;;;OAOG;IACH,OAAO,CAAC,oBAAoB;IAkC5B;;OAEG;YACW,+BAA+B;IAiC7C;;OAEG;IACH,OAAO,CAAC,yBAAyB;IAYjC;;OAEG;IACH,OAAO,CAAC,uBAAuB;IA0B/B;;OAEG;IACH,OAAO,CAAC,2BAA2B;IAkEnC;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAuI3B;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAsB5B;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,oBAAoB;IAuM5B;;;;;;OAMG;IACH,OAAO,CAAC,wBAAwB;IA8BhC;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IA8BhC;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAW9B;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAO1B,OAAO,CAAC,oBAAoB;IAoH5B;;OAEG;IACH,OAAO,CAAC,YAAY;IASpB;;;OAGG;IACH,OAAO,CAAC,eAAe;IASvB;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAiB9B;;;OAGG;IACH,OAAO,CAAC,kBAAkB;CAmB3B"}
|
|
@@ -460,9 +460,7 @@ export class SecurityAssessor extends BaseAssessor {
|
|
|
460
460
|
/error GETting.*endpoint/i, // Transport layer GET errors (requires 'endpoint' to avoid false positives)
|
|
461
461
|
/service unavailable/i, // HTTP 503 (server down)
|
|
462
462
|
/gateway timeout/i, // HTTP 504 (gateway timeout)
|
|
463
|
-
/unknown tool:/i, //
|
|
464
|
-
/tool.*not found/i, // Alternative phrasing for missing tool
|
|
465
|
-
/tool.*does not exist/i, // Alternative phrasing for missing tool
|
|
463
|
+
/unknown tool:/i, // MCP spec format: "Unknown tool: <name>"
|
|
466
464
|
/no such tool/i, // Alternative phrasing for missing tool
|
|
467
465
|
];
|
|
468
466
|
// Check unambiguous patterns first
|
|
@@ -510,9 +508,7 @@ export class SecurityAssessor extends BaseAssessor {
|
|
|
510
508
|
/error GETting/i, // Transport layer GET errors
|
|
511
509
|
/service unavailable/i, // HTTP 503 (server down)
|
|
512
510
|
/gateway timeout/i, // HTTP 504 (gateway timeout)
|
|
513
|
-
/unknown tool:/i, //
|
|
514
|
-
/tool.*not found/i, // Alternative phrasing for missing tool
|
|
515
|
-
/tool.*does not exist/i, // Alternative phrasing for missing tool
|
|
511
|
+
/unknown tool:/i, // MCP spec format: "Unknown tool: <name>"
|
|
516
512
|
/no such tool/i, // Alternative phrasing for missing tool
|
|
517
513
|
];
|
|
518
514
|
// Check unambiguous patterns first
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bryan-thompson/inspector-assessment-client",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.1",
|
|
4
4
|
"description": "Client-side application for the Enhanced MCP Inspector with assessment capabilities",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bryan Thompson <bryan@triepod.ai>",
|