From f6095cb6ba9db4e69e7bcd64643c59c8ac129a4c Mon Sep 17 00:00:00 2001 From: N0zoM1z0 <1705004398@qq.com> Date: Wed, 22 Jul 2026 20:53:07 +0800 Subject: [PATCH] fix(browser): redact transitional target titles --- ...olveCompareApplicationVersionsRequest.html | 2 +- ...reApplicationVersionsRequestValidated.html | 2 +- ...eCompareJavaScriptExportShapesRequest.html | 2 +- ...avaScriptExportShapesRequestValidated.html | 2 +- ...resolveTraceApplicationFeatureRequest.html | 2 +- ...aceApplicationFeatureRequestValidated.html | 2 +- ...ectAnalysisStatus.runCapabilityStatus.html | 2 +- ...irectAnalysisStatus.runProviderStatus.html | 2 +- ..._DoctorProjection.projectDoctorReport.html | 2 +- ...tion_DoctorScope.normalizeDoctorScope.html | 2 +- ...ication_DoctorScope.scopeDoctorChecks.html | 2 +- ...nceResolver.resolveEvidenceReferences.html | 2 +- ...n.projectJavaScriptExportReturnShapes.html | 2 +- ...rowser_CdpEndpoint.cdpTargetWebSocket.html | 2 +- ...ser_CdpEndpoint.hasCdpTargetWebSocket.html | 2 +- ...parison.compareJavaScriptExportShapes.html | 2 +- ...sonIdentity.canonicalExportShapeValue.html | 2 +- ...arisonIdentity.digestExportShapeValue.html | 2 +- ...election.retainJavaScriptExportShapes.html | 2 +- ...ShapeSelection.selectJavaScriptExport.html | 2 +- ...nts.buildJavaScriptExportShapeChanges.html | 2 +- ...s.compareJavaScriptExportShapeChanges.html | 2 +- ...rtialJavaScriptExportPropertyCoverage.html | 2 +- ...nts.pairJavaScriptExportShapeVariants.html | 2 +- ...rimitives.semanticPrimitiveCandidates.html | 2 +- ...manticPrimitives.semanticPrimitiveSet.html | 2 +- ...nticPrimitives.semanticPrimitiveValue.html | 2 +- ...ticProvenance.reachSemanticValueLimit.html | 2 +- ...ticProvenance.semanticLimitProvenance.html | 2 +- ...cProvenance.semanticOriginsProvenance.html | 2 +- ...manticProvenance.semanticPrimitiveKey.html | 2 +- ...SemanticProvenance.semanticProvenance.html | 2 +- ...anticProvenance.uniqueSemanticOrigins.html | 2 +- ...emanticReturns.collectSemanticReturns.html | 2 +- ...ticReturns.flattenSemanticReturnValue.html | 2 +- ...eturns.resolveSemanticModuleCallables.html | 2 +- ...ostic.hopperLauncherFailureDiagnostic.html | 2 +- ...ic.parseLinuxPrivateDisplayDiagnostic.html | 2 +- ...obe.selectLinuxPrivateDisplayStrategy.html | 2 +- ...sterCompareJavaScriptExportShapesTool.html | 2 +- ...ication_DoctorScope.DoctorScopeReport.html | 12 ++-- ...enceResolver.EvidenceSemanticIdentity.html | 6 +- ...ction.JavaScriptReturnShapeProjection.html | 10 +-- ...tExportShapeComparisonProjectionInput.html | 8 +-- ...ection.JavaScriptExportShapeSideInput.html | 10 +-- ...ection.RetainedJavaScriptExportShapes.html | 6 +- ...apeSelection.SelectedJavaScriptExport.html | 10 +-- ...Variants.JavaScriptExportShapePairing.html | 8 +-- ...LinuxPrivateDisplayProbeProcessResult.html | 16 ++--- ...denceReferenceResolver.EvidenceLookup.html | 2 +- ...cts.CompareApplicationVersionsRequest.html | 2 +- ....CompareJavaScriptExportShapesRequest.html | 2 +- ...tracts.TraceApplicationFeatureRequest.html | 2 +- ...as.CompareJavaScriptExportShapesInput.html | 2 +- ...JavaScriptExportShapeComparisonChange.html | 2 +- ...JavaScriptExportShapeComparisonResult.html | 2 +- ...onSchemas.ProjectedExportReturnShapes.html | 2 +- ...ic.LinuxPrivateDisplayDiagnosticParse.html | 2 +- ...yProbe.LinuxPrivateDisplayProbeRunner.html | 2 +- ...e.LinuxPrivateDisplayRunnableStrategy.html | 2 +- ...layProbe.LinuxPrivateDisplaySelection.html | 2 +- ...mpareApplicationVersionsRequestSchema.html | 2 +- ...reJavaScriptExportShapesRequestSchema.html | 2 +- ....traceApplicationFeatureRequestSchema.html | 2 +- ...pareJavaScriptExportShapesInputSchema.html | 2 +- ...riptExportShapeComparisonResultSchema.html | 2 +- ...mas.projectedExportReturnShapesSchema.html | 2 +- ...NUX_PRIVATE_DISPLAY_DIAGNOSTIC_PREFIX.html | 2 +- ...playProbe.runLinuxPrivateDisplayProbe.html | 2 +- src/browser/CdpEndpoint.ts | 47 ++++++++++++-- tests/cdpBrowserProvider.test.ts | 61 ++++++++++--------- tests/fixtures/fakeCdpBrowser.ts | 24 ++++++-- 72 files changed, 198 insertions(+), 140 deletions(-) diff --git a/docs/api/functions/application_ApplicationWorkflowEvidenceResolver.resolveCompareApplicationVersionsRequest.html b/docs/api/functions/application_ApplicationWorkflowEvidenceResolver.resolveCompareApplicationVersionsRequest.html index 89de45da1..51b2f155a 100644 --- a/docs/api/functions/application_ApplicationWorkflowEvidenceResolver.resolveCompareApplicationVersionsRequest.html +++ b/docs/api/functions/application_ApplicationWorkflowEvidenceResolver.resolveCompareApplicationVersionsRequest.html @@ -25,7 +25,7 @@
  • Optionallookup: EvidenceLookup
  • Returns Result<
        {
            left: {
                analysis_profile?: {
                    digest: string;
                    parameters: Record<string, JSONType>;
                    provider: { id: string; name: string; version: string };
                    provider_profile_schema_version: number;
                    schema_version: 1;
                };
                authority: | "shipped-artifact"
                | "controlled-replay"
                | "historical-reference"
                | "external-service"
                | "analyst-inference";
                confidence: "observed"
                | "derived"
                | "inferred";
                environment:
                    | {
                        architecture: string;
                        id: string;
                        isolation: "process"
                        | "none"
                        | "container"
                        | "virtual-machine";
                        platform: string;
                    }
                    | null;
                evidence_id: string;
                evidence_links: string[];
                limitations: string[];
                locations: (
                    | { address: string; kind: "address" }
                    | { end: string; kind: "address-range"; start: string }
                    | { kind: "artifact-path"; path: string }
                    | { kind: "file-offset"; offset: number }
                    | { end: number; kind: "file-offset-range"; start: number }
                )[];
                normalized_result: JSONType;
                operation: string;
                parameters: Record<string, JSONType>;
                predicate_type: string;
                provider: { id: string; name: string; version: string | null };
                raw_result: JSONType;
                schema_version: 2;
                subject:
                    | {
                        architecture: "x86"
                        | "x86_64"
                        | "arm"
                        | "arm64"
                        | null;
                        digest: { sha256: string };
                        format:
                            | "unknown"
                            | "file"
                            | "directory"
                            | "javascript"
                            | "source-map"
                            | "plist"
                            | "entitlements"
                            | "dmg"
                            | "zip"
                            | "pkg"
                            | "asar"
                            | "javascript-bundle"
                            | "mach-o-universal"
                            | "mach-o"
                            | "elf"
                            | "pe"
                            | "hopper"
                            | "analysis-database"
                            | "ipa"
                            | "apk";
                        local_path: string;
                        name: string;
                    }
                    | null;
            };
            left_native_observations: {
                analysis_profile?: {
                    digest: string;
                    parameters: Record<string, JSONType>;
                    provider: { id: string; name: string; version: string };
                    provider_profile_schema_version: number;
                    schema_version: 1;
                };
                authority: | "shipped-artifact"
                | "controlled-replay"
                | "historical-reference"
                | "external-service"
                | "analyst-inference";
                confidence: "observed"
                | "derived"
                | "inferred";
                environment:
                    | {
                        architecture: string;
                        id: string;
                        isolation: "process"
                        | "none"
                        | "container"
                        | "virtual-machine";
                        platform: string;
                    }
                    | null;
                evidence_id: string;
                evidence_links: string[];
                limitations: string[];
                locations: (
                    | { address: string; kind: "address" }
                    | { end: string; kind: "address-range"; start: string }
                    | { kind: "artifact-path"; path: string }
                    | { kind: "file-offset"; offset: number }
                    | { end: number; kind: "file-offset-range"; start: number }
                )[];
                normalized_result: JSONType;
                operation: string;
                parameters: Record<string, JSONType>;
                predicate_type: string;
                provider: { id: string; name: string; version: string | null };
                raw_result: JSONType;
                schema_version: 2;
                subject:
                    | {
                        architecture: "x86"
                        | "x86_64"
                        | "arm"
                        | "arm64"
                        | null;
                        digest: { sha256: string };
                        format:
                            | "unknown"
                            | "file"
                            | "directory"
                            | "javascript"
                            | "source-map"
                            | "plist"
                            | "entitlements"
                            | "dmg"
                            | "zip"
                            | "pkg"
                            | "asar"
                            | "javascript-bundle"
                            | "mach-o-universal"
                            | "mach-o"
                            | "elf"
                            | "pe"
                            | "hopper"
                            | "analysis-database"
                            | "ipa"
                            | "apk";
                        local_path: string;
                        name: string;
                    }
                    | null;
            }[];
            limits: {
                max_candidate_nodes: number;
                max_comparison_items: number;
                max_graph_edges: number;
                max_graph_nodes: number;
            };
            right: {
                analysis_profile?: {
                    digest: string;
                    parameters: Record<string, JSONType>;
                    provider: { id: string; name: string; version: string };
                    provider_profile_schema_version: number;
                    schema_version: 1;
                };
                authority: | "shipped-artifact"
                | "controlled-replay"
                | "historical-reference"
                | "external-service"
                | "analyst-inference";
                confidence: "observed"
                | "derived"
                | "inferred";
                environment:
                    | {
                        architecture: string;
                        id: string;
                        isolation: "process"
                        | "none"
                        | "container"
                        | "virtual-machine";
                        platform: string;
                    }
                    | null;
                evidence_id: string;
                evidence_links: string[];
                limitations: string[];
                locations: (
                    | { address: string; kind: "address" }
                    | { end: string; kind: "address-range"; start: string }
                    | { kind: "artifact-path"; path: string }
                    | { kind: "file-offset"; offset: number }
                    | { end: number; kind: "file-offset-range"; start: number }
                )[];
                normalized_result: JSONType;
                operation: string;
                parameters: Record<string, JSONType>;
                predicate_type: string;
                provider: { id: string; name: string; version: string | null };
                raw_result: JSONType;
                schema_version: 2;
                subject:
                    | {
                        architecture: "x86"
                        | "x86_64"
                        | "arm"
                        | "arm64"
                        | null;
                        digest: { sha256: string };
                        format:
                            | "unknown"
                            | "file"
                            | "directory"
                            | "javascript"
                            | "source-map"
                            | "plist"
                            | "entitlements"
                            | "dmg"
                            | "zip"
                            | "pkg"
                            | "asar"
                            | "javascript-bundle"
                            | "mach-o-universal"
                            | "mach-o"
                            | "elf"
                            | "pe"
                            | "hopper"
                            | "analysis-database"
                            | "ipa"
                            | "apk";
                        local_path: string;
                        name: string;
                    }
                    | null;
            };
            right_native_observations: {
                analysis_profile?: {
                    digest: string;
                    parameters: Record<string, JSONType>;
                    provider: { id: string; name: string; version: string };
                    provider_profile_schema_version: number;
                    schema_version: 1;
                };
                authority: | "shipped-artifact"
                | "controlled-replay"
                | "historical-reference"
                | "external-service"
                | "analyst-inference";
                confidence: "observed"
                | "derived"
                | "inferred";
                environment:
                    | {
                        architecture: string;
                        id: string;
                        isolation: "process"
                        | "none"
                        | "container"
                        | "virtual-machine";
                        platform: string;
                    }
                    | null;
                evidence_id: string;
                evidence_links: string[];
                limitations: string[];
                locations: (
                    | { address: string; kind: "address" }
                    | { end: string; kind: "address-range"; start: string }
                    | { kind: "artifact-path"; path: string }
                    | { kind: "file-offset"; offset: number }
                    | { end: number; kind: "file-offset-range"; start: number }
                )[];
                normalized_result: JSONType;
                operation: string;
                parameters: Record<string, JSONType>;
                predicate_type: string;
                provider: { id: string; name: string; version: string | null };
                raw_result: JSONType;
                schema_version: 2;
                subject:
                    | {
                        architecture: "x86"
                        | "x86_64"
                        | "arm"
                        | "arm64"
                        | null;
                        digest: { sha256: string };
                        format:
                            | "unknown"
                            | "file"
                            | "directory"
                            | "javascript"
                            | "source-map"
                            | "plist"
                            | "entitlements"
                            | "dmg"
                            | "zip"
                            | "pkg"
                            | "asar"
                            | "javascript-bundle"
                            | "mach-o-universal"
                            | "mach-o"
                            | "elf"
                            | "pe"
                            | "hopper"
                            | "analysis-database"
                            | "ipa"
                            | "apk";
                        local_path: string;
                        name: string;
                    }
                    | null;
            }[];
            unknown_registry_approved?: true;
        },
        AnalysisError,
    >

    +
  • Defined in src/application/ApplicationWorkflowEvidenceResolver.ts:90
  • +
  • Defined in src/application/ApplicationWorkflowEvidenceResolver.ts:101
  • +
  • Defined in src/application/ApplicationWorkflowEvidenceResolver.ts:142
  • +
  • Defined in src/application/ApplicationWorkflowEvidenceResolver.ts:153
  • +
  • Defined in src/application/ApplicationWorkflowEvidenceResolver.ts:45
  • +
  • Defined in src/application/ApplicationWorkflowEvidenceResolver.ts:56
  • +
  • Defined in src/application/DirectAnalysisStatus.ts:56
  • +
  • Defined in src/application/DirectAnalysisStatus.ts:30
  • +
  • Defined in src/application/DoctorProjection.ts:4
  • +
  • Defined in src/application/DoctorScope.ts:33
  • +
  • Defined in src/application/DoctorScope.ts:45
  • +
  • Defined in src/application/EvidenceReferenceResolver.ts:15
  • +
  • Defined in src/application/JavaScriptReturnShapeProjection.ts:24
  • +
  • Defined in src/browser/CdpEndpoint.ts:175
  • +
  • Defined in src/browser/CdpEndpoint.ts:186
  • +
  • Defined in src/domain/javascriptExportShapeComparison.ts:32
  • +
  • Defined in src/domain/javascriptExportShapeComparisonIdentity.ts:6
  • +
  • Defined in src/domain/javascriptExportShapeComparisonIdentity.ts:16
  • +
  • Defined in src/domain/javascriptExportShapeSelection.ts:102
  • +
  • Defined in src/domain/javascriptExportShapeSelection.ts:45
  • +
  • Defined in src/domain/javascriptExportShapeVariants.ts:83
  • +
  • Defined in src/domain/javascriptExportShapeVariants.ts:116
  • +
  • Defined in src/domain/javascriptExportShapeVariants.ts:126
  • +
  • Defined in src/domain/javascriptExportShapeVariants.ts:36
  • +
  • Defined in src/domain/javascriptSemanticPrimitives.ts:40
  • +
  • Defined in src/domain/javascriptSemanticPrimitives.ts:15
  • +
  • Defined in src/domain/javascriptSemanticPrimitives.ts:50
  • +
  • Defined in src/domain/javascriptSemanticProvenance.ts:51
  • +
  • Defined in src/domain/javascriptSemanticProvenance.ts:42
  • +
  • Defined in src/domain/javascriptSemanticProvenance.ts:17
  • +
  • Defined in src/domain/javascriptSemanticProvenance.ts:63
  • +
  • Defined in src/domain/javascriptSemanticProvenance.ts:10
  • +
  • Defined in src/domain/javascriptSemanticProvenance.ts:30
  • +
  • Defined in src/domain/javascriptSemanticReturns.ts:28
  • +
  • Defined in src/domain/javascriptSemanticReturns.ts:191
  • +
  • Defined in src/domain/javascriptSemanticReturns.ts:80
  • +
  • Defined in src/hopper/HopperProcessDiagnostic.ts:9
  • +
  • Defined in src/hopper/LinuxPrivateDisplayDiagnostic.ts:56
  • +
  • Defined in src/hopper/LinuxPrivateDisplayProbe.ts:59
  • +
  • Defined in src/server/registerApplicationTools/compareExportShapes.ts:18
  • +
  • Defined in src/application/DoctorScope.ts:15
  • +
  • Defined in src/application/EvidenceReferenceResolver.ts:8
  • +
  • Defined in src/application/JavaScriptReturnShapeProjection.ts:18
  • +
  • Defined in src/domain/javascriptExportShapeComparison.ts:27
  • +
  • Defined in src/domain/javascriptExportShapeSelection.ts:19
  • +
  • Defined in src/domain/javascriptExportShapeSelection.ts:40
  • +
  • Defined in src/domain/javascriptExportShapeSelection.ts:32
  • +
  • Defined in src/domain/javascriptExportShapeVariants.ts:32
  • +
  • Defined in src/hopper/LinuxPrivateDisplayProbe.ts:31
  • +
  • Defined in src/application/EvidenceReferenceResolver.ts:12
  • +
  • Defined in src/contracts/applicationWorkflowInputContracts.ts:125
  • +
  • Defined in src/contracts/applicationWorkflowInputContracts.ts:128
  • +
  • Defined in src/contracts/applicationWorkflowInputContracts.ts:122
  • +
  • Defined in src/domain/javascriptExportShapeComparisonSchemas.ts:297
  • +
  • Defined in src/domain/javascriptExportShapeComparisonSchemas.ts:306
  • +
  • Defined in src/domain/javascriptExportShapeComparisonSchemas.ts:303
  • +
  • Defined in src/domain/javascriptExportShapeComparisonSchemas.ts:300
  • +
  • Defined in src/hopper/LinuxPrivateDisplayDiagnostic.ts:44
  • +
  • Defined in src/hopper/LinuxPrivateDisplayProbe.ts:36
  • +
  • Defined in src/hopper/LinuxPrivateDisplayProbe.ts:21
  • +
  • Defined in src/hopper/LinuxPrivateDisplayProbe.ts:45
  • +
  • Defined in src/hopper/LinuxPrivateDisplayDiagnostic.ts:8