rea-agents
Preparing search index...
application/BrowserObservationService
analyzeWebBundle
Function analyzeWebBundle
analyzeWebBundle
(
browser
:
BrowserObservationPort
|
undefined
,
authority
:
PermissionAuthority
|
undefined
,
input
:
{
allowed_origins
:
string
[]
;
analysis_limits
:
{
max_ast_nodes
:
number
;
max_findings
:
number
;
max_original_sources
:
number
;
max_source_map_bytes
:
number
;
max_source_map_mappings
:
number
;
max_source_maps
:
number
;
max_total_source_map_bytes
:
number
;
}
;
approved
:
true
;
cdp_endpoint
:
string
;
console_text_approved
:
boolean
;
fetch_source_maps
:
boolean
;
include_accessibility_text
:
boolean
;
include_console_text
:
boolean
;
include_json_body_shapes
:
boolean
;
include_script_sources
:
true
;
include_storage_keys
:
boolean
;
include_websocket_shapes
:
boolean
;
json_body_schema_approved
:
boolean
;
limits
:
{
max_ax_nodes
:
number
;
max_ax_text_field_bytes
:
number
;
max_console_events
:
number
;
max_console_text_field_bytes
:
number
;
max_dom_nodes
:
number
;
max_frames
:
number
;
max_json_body_bytes
:
number
;
max_json_shape_depth
:
number
;
max_json_shape_nodes
:
number
;
max_network_events
:
number
;
max_resources
:
number
;
max_script_source_bytes
:
number
;
max_scripts
:
number
;
max_storage_keys
:
number
;
max_total_ax_text_bytes
:
number
;
max_total_console_text_bytes
:
number
;
max_total_json_body_bytes
:
number
;
max_total_script_source_bytes
:
number
;
max_total_websocket_shape_bytes
:
number
;
max_websocket_events
:
number
;
max_websocket_shape_bytes
:
number
;
max_workers
:
number
;
}
;
observation_ms
:
number
;
source_capture_approved
:
true
;
source_map_fetch_approved
:
boolean
;
target_id
:
string
;
websocket_shape_approved
:
boolean
;
}
,
options
?:
ExecutionOptions
,
)
:
Promise
<
Result
<
|
{
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
;
}
|
{
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
;
}
,
AnalysisError
,
>
,
>
Capture approved sources and derive bounded static web-bundle evidence.
Parameters
browser
:
BrowserObservationPort
|
undefined
authority
:
PermissionAuthority
|
undefined
input
:
{
allowed_origins
:
string
[]
;
analysis_limits
:
{
max_ast_nodes
:
number
;
max_findings
:
number
;
max_original_sources
:
number
;
max_source_map_bytes
:
number
;
max_source_map_mappings
:
number
;
max_source_maps
:
number
;
max_total_source_map_bytes
:
number
;
}
;
approved
:
true
;
cdp_endpoint
:
string
;
console_text_approved
:
boolean
;
fetch_source_maps
:
boolean
;
include_accessibility_text
:
boolean
;
include_console_text
:
boolean
;
include_json_body_shapes
:
boolean
;
include_script_sources
:
true
;
include_storage_keys
:
boolean
;
include_websocket_shapes
:
boolean
;
json_body_schema_approved
:
boolean
;
limits
:
{
max_ax_nodes
:
number
;
max_ax_text_field_bytes
:
number
;
max_console_events
:
number
;
max_console_text_field_bytes
:
number
;
max_dom_nodes
:
number
;
max_frames
:
number
;
max_json_body_bytes
:
number
;
max_json_shape_depth
:
number
;
max_json_shape_nodes
:
number
;
max_network_events
:
number
;
max_resources
:
number
;
max_script_source_bytes
:
number
;
max_scripts
:
number
;
max_storage_keys
:
number
;
max_total_ax_text_bytes
:
number
;
max_total_console_text_bytes
:
number
;
max_total_json_body_bytes
:
number
;
max_total_script_source_bytes
:
number
;
max_total_websocket_shape_bytes
:
number
;
max_websocket_events
:
number
;
max_websocket_shape_bytes
:
number
;
max_workers
:
number
;
}
;
observation_ms
:
number
;
source_capture_approved
:
true
;
source_map_fetch_approved
:
boolean
;
target_id
:
string
;
websocket_shape_approved
:
boolean
;
}
options
:
ExecutionOptions
= {}
Returns
Promise
<
Result
<
|
{
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
;
}
|
{
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
;
}
,
AnalysisError
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
rea-agents
Loading...
Capture approved sources and derive bounded static web-bundle evidence.