532 lines
18 KiB
JSON
532 lines
18 KiB
JSON
{
|
|
"format": "mcp-current-external-negative-protocol-acceptance-v1",
|
|
"date": "2026-11-03",
|
|
"status": "accepted-current-bounded-negative-protocol-and-projection-bundle",
|
|
"fullEXT2": false,
|
|
"wholeExternalDirectionComplete": false,
|
|
"namedRequirementCompositionReadyForRootReview": true,
|
|
"command": "node tmp/mcp-inspector-negative-next-20261103/run-owned.mjs *> tmp/mcp-inspector-negative-next-20261103/terminal.log",
|
|
"execution": {
|
|
"sessionId": 72611,
|
|
"exitCode": 0,
|
|
"terminalCompletionChunk": "332bed",
|
|
"terminalLogReadChunk": "c2c217",
|
|
"originalRunLogRedirected": true,
|
|
"requireEscalatedFromOutset": true,
|
|
"ownedPgInvocations": 1,
|
|
"noNewInstall": true
|
|
},
|
|
"sourceBasisReadBeforeRun": [
|
|
"backend/src/routes/mcp-oauth.ts",
|
|
"backend/src/routes/mcp.ts",
|
|
"backend/src/routes/servers.ts",
|
|
"backend/src/index.ts",
|
|
"backend/src/scripts/mcp-stdio.ts"
|
|
],
|
|
"actualProtocolChecks": {
|
|
"observations": [
|
|
{
|
|
"case": "positive-portal-control",
|
|
"path": "/api/servers",
|
|
"status": 200
|
|
},
|
|
{
|
|
"case": "positive-portal-control",
|
|
"path": "/api/mcp/settings",
|
|
"status": 200
|
|
},
|
|
{
|
|
"case": "legacy-mcp-bearer-isolated",
|
|
"path": "/api/servers",
|
|
"status": 401
|
|
},
|
|
{
|
|
"case": "legacy-mcp-bearer-isolated",
|
|
"path": "/api/mcp/settings",
|
|
"status": 401
|
|
},
|
|
{
|
|
"case": "authorize-redirect_uri-refused",
|
|
"status": 400,
|
|
"redirectAbsent": true
|
|
},
|
|
{
|
|
"case": "authorize-resource-refused",
|
|
"status": 400,
|
|
"redirectAbsent": true
|
|
},
|
|
{
|
|
"case": "token-redirect_uri-refused",
|
|
"status": 400,
|
|
"error": "invalid_grant"
|
|
},
|
|
{
|
|
"case": "token-resource-refused",
|
|
"status": 400,
|
|
"error": "invalid_request"
|
|
},
|
|
{
|
|
"case": "token-code_verifier-refused",
|
|
"status": 400,
|
|
"error": "invalid_grant"
|
|
},
|
|
{
|
|
"case": "correct-code-still-usable-after-negatives",
|
|
"status": 200
|
|
},
|
|
{
|
|
"case": "authorization-code-replay-refused",
|
|
"status": 400,
|
|
"error": "invalid_grant"
|
|
},
|
|
{
|
|
"case": "oauth-mcp-bearer-isolated",
|
|
"path": "/api/servers",
|
|
"status": 401
|
|
},
|
|
{
|
|
"case": "oauth-mcp-bearer-isolated",
|
|
"path": "/api/mcp/settings",
|
|
"status": 401
|
|
},
|
|
{
|
|
"case": "wrong-refresh-resource-refused-correct-original-refresh-still-succeeds",
|
|
"wrongStatus": 400,
|
|
"correctStatus": 200,
|
|
"freshAccessStatus": 200
|
|
},
|
|
{
|
|
"case": "explicit-rfc7009-revoke-blocks-access-and-refresh",
|
|
"revokeStatus": 200,
|
|
"mcpStatus": 401,
|
|
"refreshStatus": 400
|
|
},
|
|
{
|
|
"case": "actual-request-over1mib-refused",
|
|
"status": 413,
|
|
"responseBytes": 37
|
|
},
|
|
{
|
|
"case": "actual-inspector-http-unicode40k-to16k-public-projection",
|
|
"projectedChars": 16000,
|
|
"projectedCommentUtf8Bytes": 32000,
|
|
"resultTextBytes": 32556,
|
|
"redactionAndExactAllowedServer": true
|
|
},
|
|
{
|
|
"case": "actual-inspector-stdio-unicode40k-to16k-public-projection",
|
|
"projectedChars": 16000,
|
|
"projectedCommentUtf8Bytes": 32000,
|
|
"resultTextBytes": 32556,
|
|
"redactionAndExactAllowedServer": true
|
|
}
|
|
],
|
|
"observationCount": 18,
|
|
"negativeOAuthCasesAreRealHttpProbesNotInspectorAuthorizationFlow": true,
|
|
"accessAndRefreshValuesIssuedOnlyByCurrentProductionTokenEndpoint": true,
|
|
"helperGeneratedOnlyNormalPublicClientVerifierAndState": true,
|
|
"tokenNegativesDoNotConsumeValidCodeProvenBySubsequent200": true,
|
|
"wrongRefreshResourceDoesNotRevokeValidOriginalProvenBySubsequent200": true,
|
|
"oauthResourceIsTokenAudience": true,
|
|
"noExternalRedirectFollowed": true,
|
|
"credentialValuesOrRawAuthorizationUriInReport": false
|
|
},
|
|
"inspectorProjectionChecks": {
|
|
"version": "2.13.0",
|
|
"unmodifiedOfficialExecutable": true,
|
|
"modes": [
|
|
"http",
|
|
"stdio"
|
|
],
|
|
"exactSourceUnicodeChars": 40000,
|
|
"exactProjectedUnicodeChars": 16000,
|
|
"exactProjectedCommentUtf8Bytes": 32000,
|
|
"resultTextBytes": 32556,
|
|
"actualInspectorStdoutBytesPerProcess": 65283,
|
|
"stderrBytesPerProcess": 0,
|
|
"hardStdoutStderrLimitBytesPerProcess": 1048576,
|
|
"inspectorDeadlineMsPerProcess": 15000,
|
|
"wholeCoordinatorDeadlineMs": 120000,
|
|
"exactAllowedServer": true,
|
|
"syntheticDeviceSecretAndTruncationTailAbsent": true,
|
|
"byteChunksDecodedUtf8Once": true,
|
|
"exactReencodedByteCountAsserted": true,
|
|
"noSdkOnlyClientReplacement": true,
|
|
"exactProductionBridgeKnownPid": 55864,
|
|
"bridgeParentIsExactInspectorPid": 35228,
|
|
"existingKnownBridgeDrainUsed": true
|
|
},
|
|
"actualResult": {
|
|
"format": "mcp-current-external-negative-protocol-v1",
|
|
"status": "accepted",
|
|
"actualNegativeHttpProbes": true,
|
|
"httpProbeOAuthSetupIsNotInspectorPkce": true,
|
|
"productionTokenEndpointIssuedAllOAuthCredentials": true,
|
|
"manuallyManufacturedAccessRefreshTokens": false,
|
|
"noRemoteRedirectFollowed": true,
|
|
"observations": [
|
|
{
|
|
"case": "positive-portal-control",
|
|
"path": "/api/servers",
|
|
"status": 200
|
|
},
|
|
{
|
|
"case": "positive-portal-control",
|
|
"path": "/api/mcp/settings",
|
|
"status": 200
|
|
},
|
|
{
|
|
"case": "legacy-mcp-bearer-isolated",
|
|
"path": "/api/servers",
|
|
"status": 401
|
|
},
|
|
{
|
|
"case": "legacy-mcp-bearer-isolated",
|
|
"path": "/api/mcp/settings",
|
|
"status": 401
|
|
},
|
|
{
|
|
"case": "authorize-redirect_uri-refused",
|
|
"status": 400,
|
|
"redirectAbsent": true
|
|
},
|
|
{
|
|
"case": "authorize-resource-refused",
|
|
"status": 400,
|
|
"redirectAbsent": true
|
|
},
|
|
{
|
|
"case": "token-redirect_uri-refused",
|
|
"status": 400,
|
|
"error": "invalid_grant"
|
|
},
|
|
{
|
|
"case": "token-resource-refused",
|
|
"status": 400,
|
|
"error": "invalid_request"
|
|
},
|
|
{
|
|
"case": "token-code_verifier-refused",
|
|
"status": 400,
|
|
"error": "invalid_grant"
|
|
},
|
|
{
|
|
"case": "correct-code-still-usable-after-negatives",
|
|
"status": 200
|
|
},
|
|
{
|
|
"case": "authorization-code-replay-refused",
|
|
"status": 400,
|
|
"error": "invalid_grant"
|
|
},
|
|
{
|
|
"case": "oauth-mcp-bearer-isolated",
|
|
"path": "/api/servers",
|
|
"status": 401
|
|
},
|
|
{
|
|
"case": "oauth-mcp-bearer-isolated",
|
|
"path": "/api/mcp/settings",
|
|
"status": 401
|
|
},
|
|
{
|
|
"case": "wrong-refresh-resource-refused-correct-original-refresh-still-succeeds",
|
|
"wrongStatus": 400,
|
|
"correctStatus": 200,
|
|
"freshAccessStatus": 200
|
|
},
|
|
{
|
|
"case": "explicit-rfc7009-revoke-blocks-access-and-refresh",
|
|
"revokeStatus": 200,
|
|
"mcpStatus": 401,
|
|
"refreshStatus": 400
|
|
},
|
|
{
|
|
"case": "actual-request-over1mib-refused",
|
|
"status": 413,
|
|
"responseBytes": 37
|
|
},
|
|
{
|
|
"case": "actual-inspector-http-unicode40k-to16k-public-projection",
|
|
"projectedChars": 16000,
|
|
"projectedCommentUtf8Bytes": 32000,
|
|
"resultTextBytes": 32556,
|
|
"redactionAndExactAllowedServer": true
|
|
},
|
|
{
|
|
"case": "actual-inspector-stdio-unicode40k-to16k-public-projection",
|
|
"projectedChars": 16000,
|
|
"projectedCommentUtf8Bytes": 32000,
|
|
"resultTextBytes": 32556,
|
|
"redactionAndExactAllowedServer": true
|
|
}
|
|
],
|
|
"realInspectorVersion": "2.13.0",
|
|
"executions": [
|
|
{
|
|
"phase": "actual-inspector-40k-unicode-comment-http",
|
|
"inspectorPid": 81556,
|
|
"exitCode": 0,
|
|
"stdoutBytes": 65283,
|
|
"stderrBytes": 0,
|
|
"errorCode": null
|
|
},
|
|
{
|
|
"phase": "actual-inspector-40k-unicode-comment-stdio",
|
|
"inspectorPid": 35228,
|
|
"exitCode": 0,
|
|
"stdoutBytes": 65283,
|
|
"stderrBytes": 0,
|
|
"errorCode": null
|
|
}
|
|
],
|
|
"productionBridges": [
|
|
{
|
|
"pid": 55864,
|
|
"inspectorParentPid": 35228
|
|
}
|
|
],
|
|
"projectionClientModes": [
|
|
"http",
|
|
"stdio"
|
|
],
|
|
"exactSourceCommentChars": 40000,
|
|
"exactProjectedCommentChars": 16000,
|
|
"decodeUtf8Once": true,
|
|
"maxInspectorOutputBytes": 65283,
|
|
"inspectorOutputHardLimitBytes": 1048576,
|
|
"nativeMutations": 0,
|
|
"wholeExternalDirectionComplete": false,
|
|
"externalClientPid": 37028,
|
|
"liveAuthPortal": false,
|
|
"actualOwnPg": true,
|
|
"actualProductionHttpServer": true,
|
|
"serverFixturePid": 85448,
|
|
"controlTransitions": [
|
|
{
|
|
"command": "new-connection",
|
|
"connectionId": "95c03045-3aeb-4d67-a9f8-f2818ade2977"
|
|
},
|
|
{
|
|
"command": "large-result",
|
|
"connectionId": "95c03045-3aeb-4d67-a9f8-f2818ade2977"
|
|
},
|
|
{
|
|
"command": "reset-result",
|
|
"connectionId": "95c03045-3aeb-4d67-a9f8-f2818ade2977"
|
|
}
|
|
],
|
|
"auditCredentialLeakAbsent": true,
|
|
"nativeRouterCalls": 0,
|
|
"productionDatabaseTouched": false
|
|
},
|
|
"sourceFence": {
|
|
"kind": "fixed-current-source-graphs-plus-explicit-package-sdk-metadata",
|
|
"directoriesAllFilesRecursivelyPinned": [
|
|
"backend/src",
|
|
"packages/contracts/src",
|
|
"packages/contracts/dist"
|
|
],
|
|
"explicitPackagePins": [
|
|
"package.json",
|
|
"backend/package.json",
|
|
"packages/contracts/package.json",
|
|
"node_modules/@modelcontextprotocol/client/package.json",
|
|
"node_modules/@modelcontextprotocol/server/package.json",
|
|
"node_modules/@modelcontextprotocol/core/package.json",
|
|
"node_modules/@modelcontextprotocol/node/package.json"
|
|
],
|
|
"fileCount": 1729,
|
|
"beforeAfterUnchanged": true,
|
|
"sourcePinListSha256": "766b89c6c9c8d8ff0c1c34767815d9ae6ce4391b84da4551ee81209b376db4ec",
|
|
"symlinksAndNoncanonicalPathsRefused": true,
|
|
"completeNodeModulesOrBackendDistGraphFenced": false,
|
|
"earlierSelected13ReceiptsNotRetroactivelyExpanded": true,
|
|
"exactPinArtifact": "tmp/mcp-inspector-negative-next-20261103/source-pins.json"
|
|
},
|
|
"auditBoundary": {
|
|
"fixtureTrackedLegacyBearerSyntheticPortalJwtAndDeviceSecretAbsentFromSqlProtocolAuditAndCoordinatorOutput": true,
|
|
"oauthAccessRefreshValuesNotPersistedInResultOrPrinted": true,
|
|
"oauthValuesNotSeparatelyAddedToFixtureSqlLeakComparison": true,
|
|
"nativeRouterCalls": 0,
|
|
"nativeMutations": 0,
|
|
"productionDatabaseTouched": false,
|
|
"syntheticOwnPostgres": true,
|
|
"actualCurrentSourceHttpBackend": true
|
|
},
|
|
"cleanup": {
|
|
"originalTerminalConfirmsCoordinatorExit": true,
|
|
"coordinatorPid": 37028,
|
|
"coordinatorExitCode": 0,
|
|
"exactInspectorPids": [
|
|
81556,
|
|
35228
|
|
],
|
|
"inspectorExitCodes": [
|
|
0,
|
|
0
|
|
],
|
|
"exactProductionBridgePids": [
|
|
55864
|
|
],
|
|
"allKnownBridgesExitedBeforeAppPoolClose": true,
|
|
"ownPgStopped": true,
|
|
"exactGuardedOwnedRootRemoved": true,
|
|
"privateConfigsAndPidMarkersInsideRemovedOwnedRoot": true,
|
|
"exactOwnedRootPathRetained": false,
|
|
"broadDirectoryOrProcessScanPerformed": false
|
|
},
|
|
"requirementAudit": [
|
|
{
|
|
"requirement": "Actual Inspector, Bearer, HTTP/stdio declared compatibility",
|
|
"evidence": [
|
|
"docs/mcp-inspector-http-bearer-acceptance-20261103.json",
|
|
"docs/mcp-inspector-stdio-acceptance-20261103.json",
|
|
"docs/mcp-inspector-negative-protocol-acceptance-20261103.json"
|
|
],
|
|
"result": "Official installed Inspector2.13.0 actually executes HTTP and production stdio bridge; scoped catalogue and safe reads accepted."
|
|
},
|
|
{
|
|
"requirement": "Actual OAuth PKCE client and resource/audience/redirect binding",
|
|
"evidence": [
|
|
"docs/mcp-inspector-pkce-acceptance-20261103.json",
|
|
"docs/mcp-inspector-negative-protocol-acceptance-20261103.json"
|
|
],
|
|
"result": "Official Inspector S256 code exchange positive; current realHTTP negatives reject wrong authorize/token redirect and resource, wrong verifier and code replay. Negative-probe setup is explicitly not Inspector PKCE."
|
|
},
|
|
{
|
|
"requirement": "Refresh replay and rotation",
|
|
"evidence": [
|
|
"docs/mcp-inspector-refresh-replay-acceptance-20261103.json",
|
|
"docs/mcp-inspector-negative-protocol-acceptance-20261103.json",
|
|
"docs/mcp-inspector-http-bearer-acceptance-20261103.json"
|
|
],
|
|
"result": "Inspector proactive stored refresh rotates actual credentials; old refresh replay revokes family and Inspector refuses reconnect; wrong refresh resource does not invalidate valid original refresh."
|
|
},
|
|
{
|
|
"requirement": "Revoke and reconnect",
|
|
"evidence": [
|
|
"docs/mcp-inspector-http-bearer-acceptance-20261103.json",
|
|
"docs/mcp-inspector-refresh-replay-acceptance-20261103.json",
|
|
"docs/mcp-inspector-negative-protocol-acceptance-20261103.json"
|
|
],
|
|
"result": "Bearer rotation/revoke reconnect denial; actual RFC7009 revoke returns200 followed by actual MCP401 and refresh400; replay-family revocation followed by actual Inspector exit3."
|
|
},
|
|
{
|
|
"requirement": "Bounded tool/result schemas",
|
|
"evidence": [
|
|
"docs/mcp-inspector-current-catalogue-acceptance-20261103.json",
|
|
"docs/mcp-inspector-stdio-acceptance-20261103.json",
|
|
"docs/mcp-inspector-negative-protocol-acceptance-20261103.json"
|
|
],
|
|
"result": "All363 HTTP descriptors match across actual default/modern Inspector; current actual Inspector HTTP+stdio project40k Unicode source to exact16k chars/32k UTF8 bytes and redact secret/tail; requestover1MiB returns413. No universal/native-result or all363stdio claim."
|
|
},
|
|
{
|
|
"requirement": "MCP Bearer cannot authenticate REST/admin",
|
|
"evidence": [
|
|
"docs/mcp-inspector-negative-protocol-acceptance-20261103.json"
|
|
],
|
|
"result": "Active legacy and actual product-issued OAuth access credentials each fail /api/servers and /api/mcp/settings with401, while synthetic portalJWT positive controls return200."
|
|
}
|
|
],
|
|
"limitations": [
|
|
"Final full EXT2 composition remains subject to root review; this report does not mark the gate complete",
|
|
"Actual PKCE and proactive Inspector refresh positives are separate accepted receipts, not repeated or relabelled here",
|
|
"No Inspector implicit401-recovery claim",
|
|
"No all363stdio or nativewrite acceptance claim",
|
|
"No live auth portal or production environment accepted"
|
|
],
|
|
"artifacts": [
|
|
{
|
|
"path": "tmp/mcp-inspector-negative-next-20261103/result.json",
|
|
"sha256": "743ca6e5ed1e81840f66beae78a707133c554e2f49f78b3b516ed81e3414ab05",
|
|
"bytes": 4129
|
|
},
|
|
{
|
|
"path": "tmp/mcp-inspector-negative-next-20261103/terminal.log",
|
|
"sha256": "be6423be7e3720399abcb881ce13d68cb74efdd2261b621b3ce1decce4c523ac",
|
|
"bytes": 3424
|
|
},
|
|
{
|
|
"path": "tmp/mcp-inspector-negative-next-20261103/source-pins.json",
|
|
"sha256": "2d14612dc9a9dfc36ac93e44cac555b591372d0a73e8ed9eca09b7a05894f807",
|
|
"bytes": 563093
|
|
},
|
|
{
|
|
"path": "tmp/mcp-inspector-negative-next-20261103/run-owned.mjs",
|
|
"sha256": "67eb5048c330cf921a2752b42386e7814aabf208b6e9f45e3d5397935903b92f",
|
|
"bytes": 5181
|
|
},
|
|
{
|
|
"path": "tmp/mcp-inspector-negative-next-20261103/server-fixture.ts",
|
|
"sha256": "3c8fdd3039a7e5c69a5b8bb6464d91f7f9392246472465410b0f2ad38aaf94c2",
|
|
"bytes": 9491
|
|
},
|
|
{
|
|
"path": "tmp/mcp-inspector-negative-next-20261103/client.mjs",
|
|
"sha256": "c3ef0f7e1aa84b0c4d8f67330086e77bbf04ebab79d970b4d4a1c4f718f5171e",
|
|
"bytes": 15670
|
|
},
|
|
{
|
|
"path": "tmp/mcp-inspector-negative-next-20261103/bridge-start.mjs",
|
|
"sha256": "6173bd56c23f38d4de5dce2b1ee6a8415512c3c8e0a4a54cb71cde9a2c6d25db",
|
|
"bytes": 649
|
|
},
|
|
{
|
|
"path": "tmp/mcp-inspector-negative-next-20261103/stage.mjs",
|
|
"sha256": "9d5a3f8a5953f905d4fe8fd1606aae2e4fe1d34d1a9b751b66c9e51b14f174e6",
|
|
"bytes": 4459
|
|
},
|
|
{
|
|
"path": "tmp/mcp-inspector-negative-next-20261103/negative-cases.fragment.txt",
|
|
"sha256": "88a10017186ea7cabb9229954ed8c87c545b306dd5ce0ef5b263266cd07ce092",
|
|
"bytes": 9999
|
|
},
|
|
{
|
|
"path": "tmp/mcp-external-client-next-20261103/package-lock.json",
|
|
"sha256": "aa85eea24866883ede380406dd67811d1ea5bfe60e8299ed5f7146c2e8636e4a",
|
|
"bytes": 78745
|
|
},
|
|
{
|
|
"path": "tmp/mcp-external-client-next-20261103/node_modules/@modelcontextprotocol/inspector/package.json",
|
|
"sha256": "b2c34a853d172b8fc86fef5fa22608b5c80e91af3a1be5f25473de1def84d548",
|
|
"bytes": 9581
|
|
},
|
|
{
|
|
"path": "tmp/mcp-external-client-next-20261103/node_modules/@modelcontextprotocol/inspector/clients/launcher/build/index.js",
|
|
"sha256": "aa1a138e2ea9da44f00965a19eb36eabe8f1f37470fc8b65c076d91411fd21e0",
|
|
"bytes": 4420
|
|
},
|
|
{
|
|
"path": "tmp/mcp-external-client-next-20261103/node_modules/@modelcontextprotocol/inspector/clients/cli/build/index.js",
|
|
"sha256": "d86de678206f583d2d9072d712f54dce33d03ecc8783ac63526c92fc5590d6f7",
|
|
"bytes": 696454
|
|
},
|
|
{
|
|
"path": "docs/mcp-inspector-http-bearer-acceptance-20261103.json",
|
|
"sha256": "578b69e99c08e3f48837b8512643f0d908c2c1ab53d15dfea4edcb56d09d8e9b",
|
|
"bytes": 12870
|
|
},
|
|
{
|
|
"path": "docs/mcp-inspector-current-catalogue-acceptance-20261103.json",
|
|
"sha256": "4574cd57f7c4a2eec9fb92211051c9343e7a65061bcfb021131e4dddb8f8f236",
|
|
"bytes": 20997
|
|
},
|
|
{
|
|
"path": "docs/mcp-inspector-pkce-acceptance-20261103.json",
|
|
"sha256": "1c6ed6d7b7dd9ec9ba93debe67dc2fd2d9c641c69e2ebef1a0a4b0fc0c47e0b1",
|
|
"bytes": 11578
|
|
},
|
|
{
|
|
"path": "docs/mcp-inspector-stdio-acceptance-20261103.json",
|
|
"sha256": "be7948dada5519da897decb2ca7439dd73e50679eb5936504edaf6d9bdbfa81f",
|
|
"bytes": 13000
|
|
},
|
|
{
|
|
"path": "docs/mcp-inspector-refresh-replay-acceptance-20261103.json",
|
|
"sha256": "392c1b34c51abf60057d67fe6bab1c0d1fa80897b344ee04321f360a2a45dcd3",
|
|
"bytes": 17426
|
|
}
|
|
]
|
|
}
|