fuzzmind-frida-mcp

v0.1.0
fuzzmind-frida-mcp Checked 8 hours ago Published 7 months ago

Frida MCP server for authorized dynamic analysis and application security research

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

frida_check

Verify frida + frida-tools install state and version.

frida_list_processes

Enumerate running processes via Frida's local device. Equivalent to `frida-ps`, with an optional case-insensitive name substring filter.

ParameterTypeDescription
name_filter

frida_script_run_file

Run a Frida JS script against a process. `mode`: 'attach' (default — process already running) or 'spawn' (start a new process; pass full command in `target`). Collects `send(...)` messages from the script and returns them.

ParameterTypeDescription
script_path *string
target *string
auto_performboolean
device_id
duration_secondsinteger
exit_on_errorboolean
kill_on_exitboolean
modestring
output_file
parameters
runtime

frida_eval

Evaluate inline JavaScript against a target, equivalent to CLI `-e`.

ParameterTypeDescription
js_code *string
target *string
auto_performboolean
device_id
duration_secondsinteger
exit_on_errorboolean
kill_on_exitboolean
modestring
output_file
parameters
runtime

frida_enumerate_modules

List all loaded modules in a target process. Returns name, base address, size, and file path for each module. `target`: process name or pid (string).

ParameterTypeDescription
target *string

frida_enumerate_exports

List exported symbols from a specific module in a target process. `module_name`: e.g. 'libsystem_kernel.dylib'. Returns name, type ('function' or 'variable'), and address.

ParameterTypeDescription
module_name *string
target *string

frida_list_devices

List all available Frida devices (USB, remote, local). Useful for discovering connected devices before specifying a `device_id` in other tools. Returns id, name, and type for each.

frida_get_device_info

Get info about a specific Frida device or the default local device. `device_id`: optional device id from `frida_list_devices`. Defaults to the local macOS device. Returns device metadata and running process count.

ParameterTypeDescription
device_id

frida_connect

Connect/attach to a process and create a persistent Frida session. `target`: process name or pid (string). Full binary path when `spawn=True`. `device_id`: optional device id; defaults to local device. `spawn`: if True, spawn the process under Frida instead of attaching to an existing one. Returns a `session_id` for use with session-based tools (hooks, hook messages, etc.). The session stays alive until explicitly disconnected.

ParameterTypeDescription
argv
attach_frontmostboolean
attach_identifier
aux
await_pattern
await_timeoutnumber
cwd
device_id
env
envp
kill_on_disconnectboolean
pauseboolean
persist_timeout
realm
spawnboolean
stdio
targetstring

frida_await_spawn

Wait for a spawn matching `pattern`, optionally attach and resume.

ParameterTypeDescription
pattern *string
attachboolean
device_id
kill_on_disconnectboolean
persist_timeout
realm
resumeboolean
resume_unmatchedboolean
timeout_secondsnumber

frida_disconnect

Disconnect from the current or a specified Frida session. `session_id`: optional; defaults to the active session. Detaches from the process and unloads all persistent hooks.

ParameterTypeDescription
session_id

frida_list_sessions

List all active Frida sessions. Shows session id, target, pid, device, whether each is the active session, and whether the underlying Frida connection is still alive.

frida_switch_session

Switch the active Frida session. `session_id`: id of the session to activate (from `frida_list_sessions`). Subsequent session-based tool calls (hooks, messages) will operate on this session.

ParameterTypeDescription
session_id *string

frida_is_connected

Check if the current Frida session is alive. Returns connection status, session id, target, pid, and device name. Useful as a health-check before running session-based tools.

frida_session_get_events

Read lifecycle events for a persistent Frida session.

ParameterTypeDescription
clearboolean
limitinteger
session_id

frida_session_clear_events

Clear lifecycle events for a persistent Frida session.

ParameterTypeDescription
session_id

frida_script_load

Load a long-running Frida script into a persistent session. The script remains loaded until explicitly unloaded or the session disconnects. Use `send()` in JavaScript to emit events, `recv()` to receive messages, and `rpc.exports` to expose callable functions.

ParameterTypeDescription
js_code *string
auto_performboolean
debugger_port
enable_debuggerboolean
event_limitinteger
exit_on_errorboolean
kindstring
name
parameters
runtime
session_id

frida_script_load_file

Load a local JavaScript file as a long-running Frida script.

ParameterTypeDescription
script_path *string
auto_performboolean
debugger_port
enable_debuggerboolean
event_limitinteger
exit_on_errorboolean
kindstring
name
parameters
runtime
session_id

frida_script_list

List long-running scripts loaded in a persistent session.

ParameterTypeDescription
kind
session_id

frida_script_unload

Unload a long-running script by `script_id`.

ParameterTypeDescription
script_id *string
session_id

frida_script_reload

Reload a long-running script, preserving its name and kind.

ParameterTypeDescription
script_id *string
auto_performboolean
js_code
parameters
runtime
script_path
session_id

frida_script_call_rpc

Call a function exposed through `rpc.exports` by a loaded script.

ParameterTypeDescription
method *string
script_id *string
args
session_id

frida_script_post_message

Post a JSON-serialisable message to a long-running script.

ParameterTypeDescription
message *
script_id *string
session_id

frida_script_get_events

Read queued events emitted by long-running scripts.

ParameterTypeDescription
clearboolean
kind
limitinteger
script_id
session_id

frida_script_clear_events

Clear queued events for one script or a whole session.

ParameterTypeDescription
kind
script_id
session_id

frida_script_export_events

Export queued script events to JSON or JSONL.

ParameterTypeDescription
output_path *string
clearboolean
formatstring
kind
limitinteger
script_id
session_id

frida_get_module_base

Get base address of a module by name (partial match supported). `target`: process name or pid (string). `module_name`: full or partial module name (case-insensitive). Returns the first matching module's name, base address, size, and path.

ParameterTypeDescription
module_name *string
target *string

frida_get_frontmost_app

Get the frontmost (foreground) application on a device. `device_id`: optional Frida device id (from `frida_list_devices`); defaults to local device. Returns {identifier, name, pid}. Useful on iOS/Android to identify the currently visible app.

ParameterTypeDescription
device_id

frida_launch_app

Spawn and resume an application by bundle/package identifier. `identifier`: app bundle id (iOS/macOS) or package name (Android), e.g. 'com.apple.Safari' or 'com.example.app'. `device_id`: optional Frida device id; defaults to local device. Uses Frida's `device.spawn()` + `device.resume()` to launch the app fresh. Returns {pid, identifier, status}.

ParameterTypeDescription
identifier *string
device_id

frida_kill_app

Kill a process by PID or name on a device. `target`: integer PID (as string) or process name. If a name is given, the process list is searched (exact match first, then substring). `device_id`: optional; defaults to local device.

ParameterTypeDescription
target *string
device_id

frida_cli_compile_bundle

Compile a Frida JS script to bytecode for faster injection. Shells out to `frida-compile`. Produces an optimised bundle that loads faster than raw JS. `script_path`: path to the source .js file. `output_path`: optional output path (default: `<script>.compiled.js`).

ParameterTypeDescription
script_path *string
output_path

frida_script_eternalize

Inject a script and eternalize it so it survives session detach. After `script.eternalize()`, the hooks live on inside the target process even after the Frida session disconnects. Only killing the target process removes the instrumentation. `target`: process name or pid (string). `js_code`: Frida JS code to inject and eternalize.

ParameterTypeDescription
js_code *string
target *string

frida_inject_library

Inject a shared library (.dylib / .so) into a target process. Uses Frida's `inject_library_file()` to load the library. The library's `entrypoint` function (if specified) is called with `data` as its argument. `target`: process name or pid (string). `library_path`: path to the .dylib or .so to inject. `entrypoint`: optional symbol to call after load. `data`: optional string argument for the entrypoint.

ParameterTypeDescription
library_path *string
target *string
datastring
entrypointstring

frida_enumerate_threads

List all threads in a target process with state and registers. `target`: process name or pid (string). Returns thread id, state (running/stopped/waiting), and key register values (pc, sp) for each thread.

ParameterTypeDescription
target *string

frida_enumerate_symbols

List all symbols (not just exports) from a module. Unlike `frida_enumerate_exports`, this includes local and debug symbols when available. `target`: process name or pid (string). `module_name`: module to query (default: main executable). `filter`: optional case-insensitive name substring filter. `limit`: max symbols to return (default 1000).

ParameterTypeDescription
target *string
filter
limitinteger
module_name

frida_session_recover

Recover a broken/crashed Frida session by re-attaching. Looks up the original target PID/name from the session registry and attempts to create a new Frida session to the same process. `session_id`: optional; defaults to the current active session.

ParameterTypeDescription
session_id

frida_list_apps

List all installed applications on a device (not just running). Unlike `frida_list_processes` which only returns running processes, this enumerates all installed apps. Returns identifier, name, and pid (0 if not running) for each. `device_id`: optional Frida device id; defaults to local device.

ParameterTypeDescription
device_id

frida_process_info

Get detailed Process metadata: pid, arch, platform, page/pointer sizes, code signing policy, mainModule, dirs, debugger state, current thread id. `target`: process name or pid (string).

ParameterTypeDescription
target *string

frida_target_snapshot

Collect an agent-friendly target snapshot before deeper analysis. Returns process metadata, runtime/bridge availability, main module, module/thread samples, memory-range counts, and recommended next tools. `target`: process name or pid (attach), or command line when `spawn=True`. `device_id`: optional Frida device id for USB/remote targets. `spawn`: start the target suspended, attach, collect the snapshot, then resume.

ParameterTypeDescription
target *string
device_id
module_limitinteger
spawnboolean
thread_limitinteger

frida_enumerate_imports

Enumerate imports of a module in a target process. `target`: process name or pid (string). `module_name`: module to query (e.g. 'Safari', 'libsystem_kernel.dylib'). `filter`: optional case-insensitive name substring filter. `limit`: max imports to return (default 1000).

ParameterTypeDescription
module_name *string
target *string
filter
limitinteger

frida_enumerate_sections

Enumerate sections (name, base, size, protection) of a module. `target`: process name or pid (string). `module_name`: module to query (e.g. 'CoreAudio', 'libsystem_c.dylib').

ParameterTypeDescription
module_name *string
target *string

frida_enumerate_dependencies

Enumerate dependencies of a module in a target process. `target`: process name or pid (string). `module_name`: module to query.

ParameterTypeDescription
module_name *string
target *string

frida_enumerate_malloc_ranges

Enumerate malloc heap ranges filtered by memory protection. `target`: process name or pid (string). `filter`: protection string filter (default 'rw-'). Frida returns ranges whose protection is a superset of the specified value.

ParameterTypeDescription
target *string
filterstring

frida_find_export_by_name

Find a single export by name, optionally scoped to a module. `target`: process name or pid (string). `module_name`: module to search in, or None for all modules. `export_name`: export name to find. Returns the address of the export.

ParameterTypeDescription
export_name *string
module_name *
target *string

frida_find_symbol_by_name

Find a symbol by name within a module (including non-exported symbols). `target`: process name or pid (string). `module_name`: module to search. `symbol_name`: symbol name to find. Returns address and type.

ParameterTypeDescription
module_name *string
symbol_name *string
target *string

frida_resolve_debug_symbol

Resolve a debug symbol from an address via DebugSymbol.fromAddress. `target`: process name or pid (string). `address`: hex address (e.g. '0x100004000'). Returns name, moduleName, fileName, lineNumber.

ParameterTypeDescription
address *string
target *string

frida_find_functions_named

Find all functions with an exact name via DebugSymbol.findFunctionsNamed. `target`: process name or pid (string). `name`: exact function name to search for. Returns list of matching addresses.

ParameterTypeDescription
name *string
target *string

frida_find_functions_matching

Find functions matching a glob pattern via DebugSymbol.findFunctionsMatching. `target`: process name or pid (string). `glob`: glob pattern (e.g. '*xpc*send*', 'objc_msg*'). Returns matching addresses with symbolicated names.

ParameterTypeDescription
glob *string
target *string

frida_load_debug_symbols

Load debug symbols from a file (e.g. dSYM) into the target. `target`: process name or pid (string). `path`: path to the debug symbol file to load.

ParameterTypeDescription
path *string
target *string

frida_resume_process

Resume a suspended process by PID. Standalone resume for processes spawned but not yet resumed. `target_pid`: integer process ID. `device_id`: optional Frida device id; defaults to local device.

ParameterTypeDescription
target_pid *integer
device_id

frida_interactive_eval

Execute arbitrary JS in an existing persistent Frida session (REPL). Reuses a persistent session so hooks and state remain. Unlike inject_script, this creates a one-shot script, collects messages, and unloads without disturbing the session. `session_id`: session id from `frida_connect` / `frida_list_sessions`. `js_code`: JavaScript to evaluate. Use `send()` to return data.

ParameterTypeDescription
js_code *string
session_id *string
auto_performboolean
exit_on_errorboolean
parameters
runtime

frida_cli_options_file_parse

Parse a Frida CLI `--options-file` into shell-style tokens. This is a planning/inspection helper for agents. It does not execute the options file.

ParameterTypeDescription
options_file *string

frida_codeshare_run

Run an official frida-tools CodeShare script via `frida -c`.

ParameterTypeDescription
codeshare_uri *string
target *string
device_id
duration_secondsinteger
modestring
output_file
quietboolean
runtime

frida_device_get_usb

Get the first USB Frida device via `frida.get_usb_device()`.

ParameterTypeDescription
timeoutinteger

frida_device_get_remote

Get Frida's default remote device via `frida.get_remote_device()`.

frida_device_get_matching

Find a device with DeviceManager.get_device_matching().

ParameterTypeDescription
name_contains
timeoutinteger
type

frida_remote_device_add

Add a remote device with official auth/keepalive options.

ParameterTypeDescription
address *string
certificate
keepalive_interval
origin
token

frida_remote_device_remove

Remove a remote device from Frida's DeviceManager.

ParameterTypeDescription
address *string

frida_device_query_system_parameters

Call Device.query_system_parameters().

ParameterTypeDescription
device_id

frida_device_override_option

Call Device.override_option(name, value).

ParameterTypeDescription
name *string
value *
device_id

frida_device_unpair

Call Device.unpair().

ParameterTypeDescription
device_id

frida_device_input

Send raw base64-decoded input bytes to a spawned target.

ParameterTypeDescription
data_base64 *string
target *string
device_id

frida_device_get_process

Call Device.get_process().

ParameterTypeDescription
target *string
device_id

frida_device_is_lost

Call Device.is_lost().

ParameterTypeDescription
device_id

frida_inject_library_blob

Inject a library from base64 bytes with Device.inject_library_blob().

ParameterTypeDescription
library_base64 *string
target *string
datastring
device_id
entrypointstring

frida_spawn_with_options

Spawn without attaching, exposing Device.spawn() options.

ParameterTypeDescription
program *string
argv
aux
cwd
device_id
env
envp
stdio

frida_pending_spawn_list

List Device.enumerate_pending_spawn().

ParameterTypeDescription
device_id

frida_pending_children_list

List Device.enumerate_pending_children().

ParameterTypeDescription
device_id

frida_event_subscribe

Subscribe to official DeviceManager/Device/Session events.

ParameterTypeDescription
device_id
enable_child_gatingboolean
enable_spawn_gatingboolean
events
session_id
sourcestring

frida_event_get_events

Read queued official event subscription events.

ParameterTypeDescription
subscription_id *string
clearboolean
limitinteger

frida_event_unsubscribe

Unsubscribe from an official event subscription.

ParameterTypeDescription
subscription_id *string

frida_bus_attach

Attach to a device bus and start queueing bus messages.

ParameterTypeDescription
device_id

frida_bus_post

Post a message on an attached Frida bus.

ParameterTypeDescription
bus_id *string
message *
data_base64

frida_bus_get_events

Read queued bus events.

ParameterTypeDescription
bus_id *string
clearboolean
limitinteger

frida_bus_detach

Forget a bus event queue.

ParameterTypeDescription
bus_id *string

frida_session_enable_child_gating

Call Session.enable_child_gating().

ParameterTypeDescription
session_id

frida_session_disable_child_gating

Call Session.disable_child_gating().

ParameterTypeDescription
session_id

frida_session_resume

Call Session.resume().

ParameterTypeDescription
session_id

frida_session_is_detached

Call Session.is_detached().

ParameterTypeDescription
session_id

frida_session_setup_peer_connection

Call Session.setup_peer_connection().

ParameterTypeDescription
relays
session_id
stun_server

frida_session_join_portal

Call Session.join_portal().

ParameterTypeDescription
address *string
acl
certificate
session_id
token

frida_session_leave_portal

Terminate a portal membership created by frida_session_join_portal.

ParameterTypeDescription
membership_id *string
session_id

frida_script_load_bytes

Load compiled script bytes with Session.create_script_from_bytes().

ParameterTypeDescription
data_base64 *string
event_limitinteger
name
session_id

frida_session_compile_script

Compile script source with Session.compile_script().

ParameterTypeDescription
js_code *string
name
runtime
session_id

frida_session_snapshot_script

Create a script snapshot with Session.snapshot_script().

ParameterTypeDescription
embed_script *string
runtime
session_id
warmup_script

frida_script_list_exports

List rpc.exports exposed by a loaded script.

ParameterTypeDescription
script_id *string
session_id

frida_script_enable_debugger

Enable the Frida script debugger for a loaded script.

ParameterTypeDescription
script_id *string
port
session_id

frida_script_disable_debugger

Disable the Frida script debugger for a loaded script.

ParameterTypeDescription
script_id *string
session_id

frida_script_post_binary

Post a message plus binary data to a loaded script.

ParameterTypeDescription
data_base64 *string
message *
script_id *string
session_id

frida_script_set_log_handler

Queue Script log-handler events for a loaded script.

ParameterTypeDescription
script_id *string
session_id

frida_script_get_log_events

Read queued Script log-handler events.

ParameterTypeDescription
script_id *string
clearboolean
limitinteger
session_id

frida_script_get_log_handler

Call Script.get_log_handler().

ParameterTypeDescription
script_id *string
session_id

frida_script_reset_log_handler

Reset Script log handling to the Frida default.

ParameterTypeDescription
script_id *string
session_id

frida_compiler_build

Build a Frida agent bundle with frida.Compiler.build().

ParameterTypeDescription
entrypoint *string
bundle_format
compression
externals
output_format
platform
project_root
source_maps
type_check

frida_compiler_watch

Start Compiler.watch() and queue compiler events.

ParameterTypeDescription
entrypoint *string
bundle_format
compression
externals
output_format
platform
project_root
source_maps
type_check

frida_compiler_watch_get_events

Read queued Compiler.watch() events.

ParameterTypeDescription
watch_id *string
clearboolean
limitinteger

frida_compiler_watch_stop

Stop tracking a Compiler.watch() record.

ParameterTypeDescription
watch_id *string

frida_package_install

Install Frida packages with PackageManager.install().

ParameterTypeDescription
omits
project_root
role
specs

frida_package_registry

Read PackageManager.registry.

frida_portal_start

Create and start a PortalService with EndpointParameters.

ParameterTypeDescription
asset_root
certificate
cluster_address
cluster_port
control_address
control_port
origin
token

frida_portal_stop

Stop a PortalService.

ParameterTypeDescription
portal_id *string

frida_portal_broadcast

Broadcast a message through PortalService.

ParameterTypeDescription
message *
portal_id *string
data_base64

frida_portal_narrowcast

Narrowcast a message by PortalService tag.

ParameterTypeDescription
message *
portal_id *string
tag *string
data_base64

frida_portal_post

Post a message to one PortalService connection.

ParameterTypeDescription
connection_id *integer
message *
portal_id *string
data_base64

frida_portal_tag

Tag a PortalService connection.

ParameterTypeDescription
connection_id *integer
portal_id *string
tag *string

frida_portal_untag

Remove a PortalService connection tag.

ParameterTypeDescription
connection_id *integer
portal_id *string
tag *string

frida_portal_enumerate_tags

List tags for a PortalService connection.

ParameterTypeDescription
connection_id *integer
portal_id *string

frida_portal_get_events

Read queued PortalService lifecycle events.

ParameterTypeDescription
portal_id *string
clearboolean
limitinteger

frida_service_request

Open a Frida device service and send one request.

ParameterTypeDescription
address *string
device_id
params_json

frida_open_channel

Open and close a raw Frida device channel as a readiness probe.

ParameterTypeDescription
address *string
device_id

frida_channel_open

Open a raw device channel and keep it for stream operations.

ParameterTypeDescription
address *string
device_id

frida_channel_read

Read bytes from an open device channel.

ParameterTypeDescription
channel_id *string
sizeinteger

frida_channel_write

Write bytes to an open device channel.

ParameterTypeDescription
channel_id *string
data_base64 *string
write_allboolean

frida_channel_close

Close and forget an open device channel.

ParameterTypeDescription
channel_id *string

frida_service_open

Open a device service and keep it for repeated requests/events.

ParameterTypeDescription
address *string
activateboolean
device_id

frida_service_request_by_id

Send a request through an open device service.

ParameterTypeDescription
service_id *string
params_json

frida_service_get_events

Read queued events from an open device service.

ParameterTypeDescription
service_id *string
clearboolean
limitinteger

frida_service_close

Cancel and forget an open device service.

ParameterTypeDescription
service_id *string

frida_trace

`frida-trace -i <patterns> -n/-p <target>` for `duration_seconds`. `target`: process name or pid (string). `include`: list of `-i` patterns, e.g. `['xpc_connection_send_*', 'objc:NSURL*']`.

ParameterTypeDescription
target *string
add
attach_frontmostboolean
attach_identifier
await_pattern
decorateboolean
device_id
duration_secondsinteger
exclude
exclude_java_method
exclude_module
exclude_objc_method
exclude_swift_func
include
include_debug_symbol
include_imports
include_java_method
include_module
include_module_imports
include_objc_method
include_swift_func
init_session
modestring
output_file
parameters
quietboolean
runtime
ui_allow_origin
ui_host
ui_port

frida_discover

Run official frida-discover for a bounded capture window.

ParameterTypeDescription
target *string
device_id
duration_secondsinteger
extra_args
modestring
output_file

frida_gum_graft

Run official gum-graft when available.

ParameterTypeDescription
input_path *string
extra_args
output_path
timeout_secondsinteger

frida_stalker_coverage

Collect basic-block coverage using Frida Stalker. Attaches Stalker to the main thread to record unique basic-block addresses hit during `duration_seconds`. `module_filter` restricts blocks to a specific module (e.g. 'CoreAudio'). Returns {blocks: [...], count: int}.

ParameterTypeDescription
target *string
duration_secondsinteger
module_filter
output_file

frida_memory_scan

Scan process memory for a hex pattern. `address`: start address as hex string (e.g. '0x100000000'). `size`: number of bytes to scan. `pattern`: frida hex pattern (e.g. '48 8b ?? c3', where ?? is wildcard). Returns matching addresses.

ParameterTypeDescription
address *string
pattern *string
size *integer
target *string

frida_read_memory

Read raw memory from a target process. `address`: hex string (e.g. '0x100000000'). `size`: bytes to read (capped at 64KB). Returns hex dump of the memory region.

ParameterTypeDescription
address *string
size *integer
target *string

frida_write_memory

Write raw bytes to process memory. `target`: process name or pid (string). `address`: hex address (e.g. '0x100004000'). `hex_bytes`: hex-encoded bytes (e.g. 'deadbeef', '90 90 90 90'). Reads back the written region for verification.

ParameterTypeDescription
address *string
hex_bytes *string
target *string

frida_memory_protect

Change memory protection on a region. `target`: process name or pid (string). `address`: start address (hex string). `size`: region size in bytes. `protection`: protection string like 'rwx', 'r-x', 'rw-', '---'.

ParameterTypeDescription
address *string
protection *string
size *integer
target *string

frida_enumerate_ranges

Enumerate memory ranges matching a protection filter. `target`: process name or pid (string). `protection`: filter like 'r--', 'rwx', 'r-x'. Frida matches ranges whose protection is a superset of the specified value. Returns base address, size, protection, and backing file (if any).

ParameterTypeDescription
target *string
protectionstring

frida_hook_native_function

Hook a native function by address using Interceptor.attach. `target`: process name or pid (string). `address`: hex address of the function to hook. `on_enter_js`: custom JS for onEnter(args) body. Has `args`, `this.context`, `send()`. Leave None for a default that logs arg0-arg2. `on_leave_js`: custom JS for onLeave(retval) body. Has `retval`, `this.context`, `send()`. Leave None for a default that logs retval. `duration_seconds`: how long to keep the hook active (default 10).

ParameterTypeDescription
address *string
target *string
duration_secondsinteger
on_enter_js
on_leave_js

frida_install_hook

Install a persistent hook that stays active and collects messages. Requires an active session (from `frida_connect`). `js_code`: Frida JS to run. Use `send(...)` to emit messages that are collected into the hook message buffer. `name`: optional label (defaults to 'hook_N'). `duration_seconds`: auto-unload after N seconds (0 = stay forever). Returns a `script_id`; hook events can be retrieved with `frida_script_get_events` or the hook-specific `frida_get_hook_messages`.

ParameterTypeDescription
js_code *string
duration_secondsinteger
name

frida_get_hook_messages

Get queued events from persistent hook scripts. `clear`: if True, also clear hook event queues after reading.

ParameterTypeDescription
clearboolean

frida_clear_hook_messages

Clear the hook message buffer for the active session.

frida_uninstall_hooks

Unload all persistent hook scripts in the current session. Stops all active hooks and clears the hook list. Messages already collected remain in the message buffer until cleared.

frida_list_hooks

List all installed persistent hooks in the current session. Returns script ids, names, loaded state, and event counts.

frida_hook_native_by_offset

Hook a native function by module name + hex offset. Requires an active session (from `frida_connect`). `module`: module name (partial match, case-insensitive), e.g. 'CoreAudio', 'libsystem_kernel'. `offset`: hex offset within the module, e.g. '0x1a2b'. `name`: optional label for the hook. Unlike `frida_hook_native_function` which takes an absolute address, this resolves the module base at runtime and adds the offset — useful when ASLR is in play.

ParameterTypeDescription
module *string
offset *string
name

frida_callstack_tracer

Trace call stacks for a specific function, symbolicated. Attaches Interceptor to the target function and captures a full backtrace on each invocation using Thread.backtrace() with DebugSymbol.fromAddress() for symbolication. `target`: process name or pid (string). `function_name_or_addr`: hex address (e.g. '0x100004000') or exported symbol name (e.g. 'open', 'xpc_connection_send_message'). `duration_seconds`: how long to trace (default 10). Returns up to 200 captured call stacks with per-frame module, symbol name, and address.

ParameterTypeDescription
function_name_or_addr *string
target *string
duration_secondsinteger

frida_spoof_return

Spoof the return value of a function. Classic anti-debug bypass. Attaches Interceptor.onLeave and replaces the return value on every call. Common uses: bypass ptrace anti-debug, spoof isDebuggerAttached, override capability checks. `target`: process name or pid (string). `function_name_or_addr`: hex address or exported symbol name (e.g. 'ptrace', 'sysctl', 'isDebuggerAttached'). `return_value`: value to force as return (numeric string, e.g. '0', '1', '0xffffffff'). Interpreted via ptr(). Stays active for 30 seconds. Returns confirmation and logs the…

ParameterTypeDescription
function_name_or_addr *string
return_value *string
target *string

frida_child_process_trap

Monitor child process creation by hooking spawn/fork/exec APIs. Hooks: posix_spawn, posix_spawnp, fork, execve, system(). Captures child PID, command line, argv, and environment variable keys for each spawned process. `target`: process name or pid (string). `duration_seconds`: how long to monitor (default 10). Useful for: tracing process trees, catching helper tool invocations, monitoring sandbox escape attempts, detecting anti-analysis forks.

ParameterTypeDescription
target *string
duration_secondsinteger

frida_memory_dump_regions

Dump all readable memory regions from a target process to disk. Enumerates memory ranges matching `filter_protection`, reads each via Memory.readByteArray(), and saves to individual .bin files in `output_dir` named `<base_address>_<size>.bin`. `target`: process name or pid (string). `output_dir`: local directory for dump files (created if needed). `filter_protection`: Frida protection filter (default 'r--'). Use 'rwx' for only fully writable+executable regions, 'rw-' for writable regions, etc. Regions larger than 64MB are skipped. 5-minute timeout.…

ParameterTypeDescription
output_dir *string
target *string
filter_protectionstring

frida_dump_module

Dump a live in-memory module image to disk. Reads the full module from process memory and writes raw bytes to `output_path`. Critical for unpacking — the dumped image may differ from the on-disk binary. `target`: process name or pid (string). `module_name`: exact or partial module name (e.g. 'CoreAudio'). `output_path`: local path to write the dumped binary.

ParameterTypeDescription
module_name *string
output_path *string
target *string

frida_spawn_gating

Enable spawn gating to intercept all new process spawns on a device. Activates device-level spawn gating. Every process that starts during the capture window is intercepted before execution. Captured spawns are automatically resumed on completion. `device_id`: optional Frida device id; defaults to local device. `duration_seconds`: how long to gate spawns (default 30, max 120).

ParameterTypeDescription
device_id
duration_secondsinteger

frida_cmodule_compile

Compile inline C code and load it into a target process via CModule. JIT-compiles C source inside the target process. Useful for writing high-performance hooks or callbacks in C instead of JS. `target`: process name or pid (string). `c_code`: C source code to compile. `symbols`: optional dict mapping symbol names to hex addresses for linking (e.g. {"my_func": "0x100004000"}).

ParameterTypeDescription
c_code *string
target *string
symbols
toolchain

frida_native_function_call

Call a native function by address inside a target process. Constructs a NativeFunction with the given signature and invokes it. `target`: process name or pid (string). `address`: hex address (e.g. '0x100004000'). `return_type`: return type ('void', 'int', 'pointer', 'uint64', etc.). `arg_types`: list of argument types (e.g. ['pointer', 'int']). `args`: list of argument values as strings.

ParameterTypeDescription
address *string
arg_types *array
args *array
return_type *string
target *string

frida_memory_alloc

Allocate memory inside a target process via Memory.alloc. `target`: process name or pid (string). `size`: bytes to allocate (capped at 10MB). Returns the address of the allocated region.

ParameterTypeDescription
size *integer
target *string

frida_memory_patch_code

Patch executable code at an address using Memory.patchCode. Handles instruction cache flushing (ARM). Safer than raw write_memory for code regions. `target`: process name or pid (string). `address`: hex address to patch (e.g. '0x100004000'). `hex_bytes`: hex-encoded bytes (e.g. 'c3', '90909090').

ParameterTypeDescription
address *string
hex_bytes *string
target *string

frida_memory_query_protection

Query memory protection at a specific address. `target`: process name or pid (string). `address`: hex address to query. Returns the protection string (e.g. 'rwx', 'r-x', 'rw-').

ParameterTypeDescription
address *string
target *string

frida_memory_alloc_string

Allocate a string inside a target process. `target`: process name or pid (string). `string`: the string value to allocate. `encoding`: 'utf8' (default), 'utf16', or 'ansi'. Returns the address of the allocated string.

ParameterTypeDescription
string *string
target *string
encodingstring

frida_memory_access_monitor

Monitor memory accesses (read/write/execute) on specified ranges. Uses MemoryAccessMonitor to capture access events. `target`: process name or pid (string). `ranges`: list of {base: "0x...", size: N} dicts defining regions. `duration_seconds`: how long to monitor (default 10).

ParameterTypeDescription
ranges *array
target *string
duration_secondsinteger

frida_interceptor_replace

Replace a native function entirely using Interceptor.replace. Unlike intercept (which logs), this replaces the implementation. `target`: process name or pid (string). `function_addr`: hex address of the function to replace. `replacement_js`: JS code returning a NativeCallback. `revert_after`: auto-revert after N seconds (0 = keep forever).

ParameterTypeDescription
function_addr *string
replacement_js *string
target *string
revert_afterinteger

frida_stalker_configure

Configure and start Stalker with advanced options on a specific thread. Finer control than stalker_coverage: custom event types, exclude ranges, and transform callbacks. `target`: process name or pid (string). `thread_id`: thread id to stalk (from frida_enumerate_threads). `options_json`: JSON config with keys: events, excludeRanges, onReceiveJs, duration_seconds.

ParameterTypeDescription
options_json *string
target *string
thread_id *integer

frida_kernel_read

Read kernel memory at an address. Requires kernel access. `address`: hex address (e.g. '0xffffff8000200000'). `length`: bytes to read. Returns hex-encoded bytes.

ParameterTypeDescription
address *string
length *integer

frida_kernel_write

Write raw bytes to kernel memory. Requires kernel access. `address`: hex address (e.g. '0xffffff8000200000'). `hex_bytes`: hex-encoded bytes (e.g. 'deadbeef').

ParameterTypeDescription
address *string
hex_bytes *string

frida_kernel_scan

Scan kernel memory for a hex pattern. Requires kernel access. `address`: start address (hex string). `size`: number of bytes to scan. `pattern`: Frida hex pattern (e.g. '48 8b ?? c3').

ParameterTypeDescription
address *string
pattern *string
size *integer

frida_kernel_enumerate_modules

Enumerate kernel modules (kexts). Requires kernel access. Returns name, base address, size, and path for each kernel module.

frida_read_typed

Read a typed value from process memory. `target`: process name or pid (string). `address`: hex address (e.g. '0x100004000'). `type`: one of 'pointer', 's8', 'u8', 's16', 'u16', 's32', 'u32', 's64', 'u64', 'float', 'double', 'utf8', 'utf16', 'cstring', 'ansi'.

ParameterTypeDescription
address *string
target *string
type *string

frida_write_typed

Write a typed value to process memory. `target`: process name or pid (string). `address`: hex address (e.g. '0x100004000'). `type`: one of 'pointer', 's8', 'u8', 's16', 'u16', 's32', 'u32', 's64', 'u64', 'float', 'double', 'utf8', 'utf16', 'cstring', 'ansi'. `value`: string representation of the value to write.

ParameterTypeDescription
address *string
target *string
type *string
value *string

frida_cloak_thread

Hide a thread from in-process detection using Frida Cloak API. `target`: process name or pid (string). `thread_id`: OS thread id to hide. If None, hides the current thread.

ParameterTypeDescription
target *string
thread_id

frida_cloak_range

Hide a memory range from detection using Frida Cloak API. `target`: process name or pid (string). `address`: base address (hex string). `size`: range size in bytes.

ParameterTypeDescription
address *string
size *integer
target *string

frida_cloak_fd

Hide a file descriptor from detection using Frida Cloak API. `target`: process name or pid (string). `fd`: file descriptor number to cloak.

ParameterTypeDescription
fd *integer
target *string

frida_profiler_start

Start profiling specific addresses in the target process. `target`: process name or pid (string). `addresses`: list of hex addresses to instrument. `sampler_type`: 'wall_clock' (default) or 'cycle_count'. `duration_seconds`: how long to profile (default 10).

ParameterTypeDescription
addresses *array
target *string
duration_secondsinteger
sampler_typestring

frida_profiler_report

Retrieve the profiler report from a previous profiler_start. `target`: process name or pid (string). Must have an active profiler from a prior `frida_profiler_start` call.

ParameterTypeDescription
target *string

frida_instruction_parse

Disassemble a single instruction at an address. `target`: process name or pid (string). `address`: hex address to disassemble. Returns mnemonic, operands, size, and instruction string.

ParameterTypeDescription
address *string
target *string

frida_hexdump

Formatted hex dump of memory at an address. `target`: process name or pid (string). `address`: hex address (e.g. '0x100000000'). `length`: bytes to dump (default 256, max 4096).

ParameterTypeDescription
address *string
target *string
lengthinteger

frida_set_exception_handler

Install an in-process exception handler to catch crashes. Hooks Process.setExceptionHandler. Captured exceptions include type, faulting address, and full register context. `target`: process name or pid (string). `duration_seconds`: how long to keep the handler active (default 10).

ParameterTypeDescription
target *string
duration_secondsinteger

frida_run_on_thread

Execute JavaScript on a specific thread in the target process. Uses Process.runOnThread() to schedule execution. `target`: process name or pid (string). `thread_id`: OS thread id (from frida_enumerate_threads). `js_code`: JavaScript code to execute on the thread.

ParameterTypeDescription
js_code *string
target *string
thread_id *integer

frida_module_map_snapshot

Use GumJS ModuleMap to snapshot modules and query address/name.

ParameterTypeDescription
target *string
address
name

frida_memory_copy

Call GumJS Memory.copy().

ParameterTypeDescription
dst *string
size *integer
src *string
target *string

frida_memory_scan_sync

Call GumJS Memory.scanSync().

ParameterTypeDescription
address *string
pattern *string
size *integer
target *string

frida_memory_check_code_pointer

Call GumJS Memory.checkCodePointer().

ParameterTypeDescription
address *string
target *string

frida_memory_dup

Call GumJS Memory.dup().

ParameterTypeDescription
address *string
size *integer
target *string

frida_module_load

Call GumJS Module.load().

ParameterTypeDescription
path *string
target *string

frida_module_ensure_initialized

Call GumJS Module.ensureInitialized().

ParameterTypeDescription
module_name *string
target *string

frida_module_find_global_export_by_name

Call GumJS Module.findGlobalExportByName().

ParameterTypeDescription
name *string
target *string

frida_process_attach_thread_observer

Call GumJS Process.attachThreadObserver() for a bounded window.

ParameterTypeDescription
target *string
duration_secondsinteger
event_limitinteger

frida_process_attach_module_observer

Call GumJS Process.attachModuleObserver() for a bounded window.

ParameterTypeDescription
target *string
duration_secondsinteger
event_limitinteger

frida_gum_script_evaluate

Call GumJS Script.evaluate().

ParameterTypeDescription
name *string
source *string
target *string

frida_gum_script_load

Call GumJS Script.load() for a bounded window.

ParameterTypeDescription
name *string
source *string
target *string
duration_secondsinteger

frida_gum_script_register_source_map

Call GumJS Script.registerSourceMap().

ParameterTypeDescription
name *string
source_map_json *string
target *string

frida_interceptor_flush

Call GumJS Interceptor.flush().

ParameterTypeDescription
target *string

frida_interceptor_revert

Call GumJS Interceptor.revert().

ParameterTypeDescription
address *string
target *string

frida_system_function_call

Call a native function using GumJS SystemFunction.

ParameterTypeDescription
address *string
arg_types *array
args *array
return_type *string
target *string

frida_thread_hardware_breakpoint

Set or unset a hardware breakpoint with GumJS Thread API.

ParameterTypeDescription
address *string
breakpoint_id *integer
target *string
thread_id *integer
unsetboolean

frida_thread_hardware_watchpoint

Set or unset a hardware watchpoint with GumJS Thread API.

ParameterTypeDescription
address *string
target *string
thread_id *integer
watchpoint_id *integer
conditionsstring
sizeinteger
unsetboolean

frida_code_writer_template

Generate a GumJS CodeWriter/Relocator template.

ParameterTypeDescription
arch *string
pc

frida_kernel_enumerate_ranges

Call Kernel.enumerateRanges().

ParameterTypeDescription
protectionstring

frida_kernel_enumerate_module_ranges

Call Kernel.enumerateModuleRanges().

ParameterTypeDescription
module_name *string
protectionstring

frida_kernel_alloc

Call Kernel.alloc().

ParameterTypeDescription
size *integer

frida_kernel_protect

Call Kernel.protect().

ParameterTypeDescription
address *string
protection *string
size *integer

frida_stalker_add_call_probe

Call Stalker.addCallProbe() and remove it before returning.

ParameterTypeDescription
address *string
target *string
duration_secondsinteger

frida_stalker_invalidate

Call Stalker.invalidate().

ParameterTypeDescription
address *string
target *string
thread_id

frida_rust_module_compile

Compile a GumJS RustModule inside the target.

ParameterTypeDescription
rust_code *string
target *string
symbols

frida_checksum_memory

Compute a GumJS Checksum over a target memory range.

ParameterTypeDescription
address *string
checksum_type *string
size *integer
target *string

frida_worker_template

Generate a GumJS Worker template.

ParameterTypeDescription
worker_source

frida_sampler_template

Generate a GumJS Sampler template.

ParameterTypeDescription
kindstring

frida_xpc_intercept

xpcspy-style XPC message capture using a bundled script. Hooks `xpc_connection_send_message` (+ reply variants) and renders each message via `xpc_copy_description`. Best-effort on the receive side.

ParameterTypeDescription
target *string
duration_secondsinteger
output_file

frida_objc_classes

Enumerate ObjC class names in a target process matching `name_pattern` (glob-ish; `*` becomes `.*` for regex match).

ParameterTypeDescription
target *string
name_patternstring

frida_intercept_objc_method

Hook a specific ObjC method via Interceptor and log invocations. `class_name`: e.g. 'NSFileManager'. `method_name`: e.g. '- contentsOfDirectoryAtPath:error:'. Captures arguments (up to 6 beyond self/sel) on each call for `duration_seconds`.

ParameterTypeDescription
class_name *string
method_name *string
target *string
duration_secondsinteger

frida_api_resolver

Resolve API symbols using Frida's ApiResolver. `target`: process name or pid (string). `query`: match pattern. ObjC: '-[NSURL *]', '+[NSData *]'. Module: 'exports:libsystem*!open*'. `type`: 'objc' or 'module'.

ParameterTypeDescription
query *string
target *string
typestring

frida_swift_demangle

Demangle a Swift symbol using the in-process Swift runtime. `target`: process name or pid that has the Swift runtime loaded. `symbol`: mangled name (e.g. '$s4MyApp0A8DelegateC11applicationSo...'). Calls `swift_demangle` from libswiftCore.dylib inside the target.

ParameterTypeDescription
symbol *string
target *string

frida_dump_class

Dump full ObjC class structure: methods, protocols, ivars. `target`: process name or pid (string). `class_name`: exact ObjC class name. Returns own methods, superclass, protocols, and instance variables.

ParameterTypeDescription
class_name *string
target *string

frida_java_list_classes

Enumerate loaded Java/ART classes in a target process. `target`: process name or pid (string). `filter`: optional case-insensitive substring to filter class names (e.g. 'crypto', 'javax.net'). `limit`: max classes to return (default 500). Requires Java/ART runtime in the target (Android app or JVM process).

ParameterTypeDescription
target *string
device_id
filter
limitinteger

frida_java_list_methods

List declared methods of a Java class. `target`: process name or pid (string). `class_name`: fully qualified Java class name (e.g. 'javax.crypto.Cipher', 'android.app.Activity'). Returns method signatures as strings.

ParameterTypeDescription
class_name *string
target *string
device_id

frida_java_hook_method

Hook all overloads of a Java method and collect invocations. `target`: process name or pid (string). `class_name`: fully qualified Java class name. `method_name`: method name to hook. `duration_seconds`: how long to collect (default 10). Hooks every overload. Each call is captured as {class_name, method, args: [String], timestamp}.

ParameterTypeDescription
class_name *string
method_name *string
target *string
device_id
duration_secondsinteger

frida_java_call

Execute arbitrary JS inside a Java.perform() block. `target`: process name or pid (string). `java_js_code`: JavaScript code auto-wrapped in `Java.perform(function() { <your code> })`. Use `Java.use()`, `Java.choose()`, `send()`, etc. directly. Returns collected send() messages.

ParameterTypeDescription
java_js_code *string
target *string
device_id

frida_java_load_dex

Dynamically load a DEX file into an Android process at runtime. Uses `Java.openClassFile().load()` to inject classes from the DEX. After loading, the new classes are available via `Java.use()`. `target`: process name or pid (string). `dex_path`: path to the .dex file on the target device filesystem.

ParameterTypeDescription
dex_path *string
target *string
device_id

frida_objc_choose

Find live ObjC instances of a class on the heap via ObjC.chooseSync. `target`: process name or pid (string). `class_name`: exact ObjC class name (e.g. 'NSMutableArray'). `limit`: max instances to return (default 100).

ParameterTypeDescription
class_name *string
target *string
limitinteger

frida_objc_register_class

Register a new ObjC class at runtime via ObjC.registerClass. `target`: process name or pid (string). `name`: class name for the new class. `super_class`: name of the superclass (e.g. 'NSObject'). `methods_js`: JS object literal for methods.

ParameterTypeDescription
methods_js *string
name *string
super_class *string
target *string

frida_objc_create_block

Create an ObjC block at runtime via new ObjC.Block. `target`: process name or pid (string). `return_type`: return type (e.g. 'void', 'int', 'object'). `arg_types`: list of argument type strings. `js_body`: JavaScript function body for the block implementation. Returns the block's handle address.

ParameterTypeDescription
arg_types *array
js_body *string
return_type *string
target *string

frida_objc_schedule

Schedule JavaScript to run on the ObjC main thread dispatch queue. Uses ObjC.schedule(ObjC.mainQueue, ...) for UI/AppKit-safe execution. `target`: process name or pid (string). `js_code`: JavaScript code to execute on the main queue.

ParameterTypeDescription
js_code *string
target *string

frida_objc_inspect_object

Inspect an ObjC object at a given address. Wraps the pointer with ObjC.Object and extracts class name, methods, ivars, and description. `target`: process name or pid (string). `address`: hex address of the ObjC object.

ParameterTypeDescription
address *string
target *string

frida_objc_call_method

Call an ObjC method on an object at a given address. `target`: process name or pid (string). `address`: hex address of the ObjC object. `selector`: ObjC selector (e.g. 'description', 'count', 'objectForKey_'). Use underscores for colons. `args_json`: optional JSON array of arguments.

ParameterTypeDescription
address *string
selector *string
target *string
args_json

frida_objc_list_protocols

List all registered ObjC protocols in a target process. `target`: process name or pid (string). Returns sorted protocol names.

ParameterTypeDescription
target *string

frida_java_enumerate_class_loaders

Call Java.enumerateClassLoaders().

ParameterTypeDescription
target *string
duration_secondsinteger

frida_java_choose

Call Java.choose().

ParameterTypeDescription
class_name *string
target *string
duration_secondsinteger
limitinteger

frida_java_backtrace

Capture Java.backtrace() inside Java.perform().

ParameterTypeDescription
target *string
duration_secondsinteger

frida_java_deoptimize

Call Java.deoptimizeEverything() or Java.deoptimizeBootImage().

ParameterTypeDescription
target *string
modestring

frida_objc_implement_template

Generate an ObjC.implement() method replacement template.

ParameterTypeDescription
class_name *string
selector *string
arg_types
return_typestring

frida_objc_bind_data

Call ObjC.bind() and ObjC.getBoundData().

ParameterTypeDescription
data *object
object_address *string
target *string

frida_win_api_monitor

[Windows] Hook Win32 APIs and log call arguments. Attaches Interceptor to the specified Win32 API exports across kernel32, advapi32, ws2_32, ntdll, user32. Logs up to 6 arguments per call. `target`: process name or pid (string). `apis`: list of API names, e.g. ["CreateFileW", "RegOpenKeyExW", "socket"]. `duration_seconds`: how long to capture (default 10).

ParameterTypeDescription
apis *array
target *string
duration_secondsinteger

frida_win_dotnet_list_assemblies

[Windows] Enumerate .NET assemblies loaded in a target process. Tries CLR.enumerateAssemblies() first, falls back to module enumeration with .NET metadata detection.

ParameterTypeDescription
target *string

frida_win_dotnet_hook_method

[Windows] Hook a .NET method and log invocations. Tries CLR bridge, falls back to JIT-compiled export scanning. `target`: process name or pid (string). `assembly`: assembly name (e.g. 'mscorlib'). `namespace`: .NET namespace (e.g. 'System.IO'). `class_name`: class name (e.g. 'File'). `method_name`: method to hook (e.g. 'ReadAllText'). `duration_seconds`: how long to capture (default 10).

ParameterTypeDescription
assembly *string
class_name *string
method_name *string
namespace *string
target *string
duration_secondsinteger

frida_win_registry_monitor

[Windows] Monitor Registry operations in a target process. Hooks RegOpenKeyExW, RegSetValueExW, RegQueryValueExW, RegDeleteKeyW in advapi32.dll. Logs key paths, value names, and data sizes. `target`: process name or pid (string). `duration_seconds`: how long to monitor (default 10).

ParameterTypeDescription
target *string
duration_secondsinteger

frida_win_com_intercept

[Windows] Intercept a COM vtable method call. Hooks CoCreateInstance to capture COM object creation for the CLSID, then patches the vtable at method_index to log invocations. `target`: process name or pid (string). `clsid_or_progid`: CLSID string or '*' for all. `method_index`: 0-based vtable index (0=QI, 1=AddRef, 2=Release, 3+=interface). `duration_seconds`: how long to capture (default 10).

ParameterTypeDescription
clsid_or_progid *string
method_index *integer
target *string
duration_secondsinteger

frida_win_etw_bypass

[Windows] Patch EtwEventWrite to neutralise ETW event logging. Overwrites ntdll!EtwEventWrite with `xor eax,eax; ret` so it returns SUCCESS (0) without emitting events. Standard anti-logging bypass. `target`: process name or pid (string).

ParameterTypeDescription
target *string

frida_win_crypto_hook

[Windows] Hook CryptoAPI and BCrypt encryption/decryption. Hooks CryptEncrypt, CryptDecrypt (advapi32), BCryptEncrypt, BCryptDecrypt (bcrypt.dll). Logs key handle, data sizes, and operation type. `target`: process name or pid (string). `duration_seconds`: how long to capture (default 10).

ParameterTypeDescription
target *string
duration_secondsinteger

frida_win_amsi_bypass

[Windows] Patch AmsiScanBuffer to bypass AMSI scanning. Overwrites amsi!AmsiScanBuffer to always return E_INVALIDARG, causing callers to treat content as clean. Standard AMSI bypass. `target`: process name or pid (string).

ParameterTypeDescription
target *string

frida_win_hollowing_detect

[Windows] Detect process hollowing via PE section comparison. Parses the in-memory PE header, compares each section's expected size/characteristics vs actual memory content. Flags discrepancies like RWX .text, unmapped sections, or size mismatches. `target`: process name or pid (string).

ParameterTypeDescription
target *string

frida_android_content_provider_hook

[Android] Hook ContentResolver operations for a specific authority. Hooks ContentResolver.query, insert, update, delete. Filters by the specified authority URI prefix. Logs URI, result counts, and affected rows. `target`: process name or pid (string). `authority`: content provider authority (e.g. 'com.example.provider'). `duration_seconds`: how long to capture (default 10).

ParameterTypeDescription
authority *string
target *string
duration_secondsinteger

frida_android_intent_intercept

[Android] Intercept Intent dispatching: startActivity, sendBroadcast, startService. Logs Intent action, extras keys, component name, categories, and data URI for each dispatched Intent. `target`: process name or pid (string). `duration_seconds`: how long to capture (default 10).

ParameterTypeDescription
target *string
duration_secondsinteger

frida_android_shared_prefs_dump

[Android] Dump SharedPreferences key-value pairs. Reads via Context.getSharedPreferences(). If pref_name is given, reads that specific file. Otherwise discovers and reads common preference files. `target`: process name or pid (string). `pref_name`: optional SharedPreferences file name (without .xml).

ParameterTypeDescription
target *string
pref_name

frida_android_webview_hook

[Android] Hook WebView methods to capture JS bridge interactions. Hooks addJavascriptInterface, evaluateJavascript, loadUrl. Captures JS interface registrations, evaluated code, and loaded URLs. `target`: process name or pid (string). `duration_seconds`: how long to capture (default 10).

ParameterTypeDescription
target *string
duration_secondsinteger

frida_android_jni_hook

[Android] Hook JNI functions in libart.so. Hooks RegisterNatives, FindClass, GetMethodID, CallObjectMethod, NewStringUTF, GetStringUTFChars, etc. Captures arguments and return values. `target`: process name or pid (string). `function_name`: JNI function to hook (e.g. 'RegisterNatives', 'FindClass'). `duration_seconds`: how long to capture (default 10).

ParameterTypeDescription
function_name *string
target *string
duration_secondsinteger

frida_ios_keychain_dump

[iOS/macOS] Dump accessible Keychain items from a target process. Hooks SecItemCopyMatching and queries for generic and internet passwords accessible to the process. Returns service, account, access group, and data (UTF-8 or hex) for each item. `target`: process name or pid (string).

ParameterTypeDescription
target *string

frida_ios_ats_bypass

[iOS/macOS] Disable App Transport Security for a target process. Patches NSURLSessionConfiguration and hooks SecTrustEvaluate / SecTrustEvaluateWithError to allow arbitrary HTTP loads and self-signed certificates. `target`: process name or pid (string).

ParameterTypeDescription
target *string

frida_ios_url_scheme_hook

[iOS/macOS] Hook URL scheme and Universal Link handling. Hooks UIApplication openURL:, application:openURL:options:, and application:continueUserActivity:restorationHandler:. Also hooks NSWorkspace openURL: on macOS. Captures incoming URL schemes and Universal Links. `target`: process name or pid (string). `duration_seconds`: how long to capture (default 10).

ParameterTypeDescription
target *string
duration_secondsinteger

frida_linux_syscall_hook

[Linux] Hook libc syscall wrappers and log arguments. Hooks the specified libc wrappers (open, read, write, connect, execve, mmap, socket, etc.) with smart argument extraction for common syscalls. `target`: process name or pid (string). `syscall_names`: list of function names, e.g. ["open", "connect", "execve"]. `duration_seconds`: how long to capture (default 10).

ParameterTypeDescription
syscall_names *array
target *string
duration_secondsinteger

frida_linux_preload_detect

[Linux] Detect LD_PRELOAD and suspicious library injections. Checks LD_PRELOAD env var, /etc/ld.so.preload, and enumerates loaded libraries flagging non-standard paths, /tmp, /dev/shm, and memfd-backed modules. `target`: process name or pid (string).

ParameterTypeDescription
target *string

frida_linux_dbus_intercept

[Linux] Intercept D-Bus method calls and messages. Hooks dbus_message_new_method_call, dbus_connection_send (libdbus-1), and g_dbus_connection_call (GIO). Captures destination, interface, method, and object path. `target`: process name or pid (string). `duration_seconds`: how long to capture (default 10).

ParameterTypeDescription
target *string
duration_secondsinteger

frida_linux_got_hook

[Linux] Overwrite a GOT/PLT entry for a function in a target module. Finds the GOT entry for function_name in module_name. If replacement_addr is given, overwrites the slot directly. Otherwise installs a logging trampoline that logs calls and passes through. `target`: process name or pid (string). `module_name`: ELF module name (e.g. 'myapp', 'libssl.so'). `function_name`: function name whose GOT entry to patch. `replacement_addr`: optional hex address (e.g. '0x7f001234').

ParameterTypeDescription
function_name *string
module_name *string
target *string
replacement_addr

frida_linux_seccomp_detect

[Linux] Detect seccomp sandbox status in a target process. Reads /proc/self/status and calls prctl(PR_GET_SECCOMP) to determine seccomp mode (disabled/strict/filter), filter count, and NoNewPrivs flag. `target`: process name or pid (string).

ParameterTypeDescription
target *string

frida_android_frida_server_status

Check Android adb/frida-server readiness without modifying the device.

ParameterTypeDescription
adb_serial
server_pathstring

frida_android_frida_server_install

Push a user-supplied frida-server binary to an Android device.

ParameterTypeDescription
server_binary_path *string
adb_serial
remote_pathstring

frida_android_frida_server_start

Start frida-server on an Android device.

ParameterTypeDescription
adb_serial
as_rootboolean
listen_address
remote_pathstring

frida_android_frida_server_stop

Stop frida-server on an Android device.

ParameterTypeDescription
adb_serial
as_rootboolean

frida_android_port_forward

Forward a local TCP port to an Android device TCP port with adb.

ParameterTypeDescription
adb_serial
local_portinteger
remote_portinteger

frida_android_port_forward_list

List adb port forwards.

ParameterTypeDescription
adb_serial

frida_android_port_forward_remove

Remove an adb TCP port forward.

ParameterTypeDescription
adb_serial
local_portinteger

frida_android_frida_server_setup

Install, start, and optionally forward to a user-supplied frida-server binary.

ParameterTypeDescription
server_binary_path *string
adb_serial
as_rootboolean
forwardboolean
local_portinteger
remote_pathstring
remote_portinteger

frida_android_device_prepare

Summarize Android readiness for Frida-based app analysis.

ParameterTypeDescription
adb_serial
device_id
package

frida_ios_device_prepare

Summarize iOS/macOS USB-device readiness for Frida app analysis.

ParameterTypeDescription
bundle_id
device_id

frida_file_list

List files in a directory on the target process's filesystem. `target`: process name or pid (string). `path`: directory to list (default '/'). Uses NSFileManager inside the target so it reflects that process's sandbox view. Returns file names and directory flags.

ParameterTypeDescription
target *string
pathstring

frida_file_read

Read a file from the target process's filesystem view. `target`: process name or pid (string). `path`: file path to read. Uses NSData inside the target (respects sandbox). Returns content as UTF-8 text or hex for binary data. Capped at 64KB.

ParameterTypeDescription
path *string
target *string

frida_file_download

Download a file from the target process's filesystem to the local host. Attaches to the target process, reads the remote file in 1MB chunks using ObjC NSData inside the process (respecting its sandbox view), transfers each chunk back via Frida's binary data channel, and reassembles the file locally at `local_path`. `target`: process name or pid (string). `remote_path`: absolute file path on the target's filesystem. `local_path`: local path to write the downloaded file. Supports large files through chunked transfer. 2-minute timeout.

ParameterTypeDescription
local_path *string
remote_path *string
target *string

frida_socket_connect

Open a TCP/UDP connection from within the target process. `target`: process name or pid (string). `host`: remote hostname or IP. `port`: remote port number. `type`: 'tcp' (default) or 'udp'.

ParameterTypeDescription
host *string
port *integer
target *string
typestring

frida_socket_listen

Open a listening socket inside the target process. `target`: process name or pid (string). `port`: local port to bind. `type`: 'tcp' (default) or 'udp'.

ParameterTypeDescription
port *integer
target *string
typestring

frida_file_write

Write data to a file on the target process's filesystem. `target`: process name or pid (string). `path`: file path to write. `data_hex_or_text`: text data (mode='w') or hex bytes (mode='wb'). `mode`: 'w' for text (default), 'wb' for binary.

ParameterTypeDescription
data_hex_or_text *string
path *string
target *string
modestring

frida_file_seek_read

Read bytes from a file at a specific offset on the target filesystem. `target`: process name or pid (string). `path`: file path to read. `offset`: byte offset to seek to. `length`: number of bytes to read (capped at 64KB). Returns hex-encoded bytes.

ParameterTypeDescription
length *integer
offset *integer
path *string
target *string

frida_sqlite_open

Open a SQLite database in the target process and list tables. Uses Frida's SqliteDatabase API within the process's sandbox view. `target`: process name or pid (string). `db_path`: path to the .db file.

ParameterTypeDescription
db_path *string
target *string

frida_sqlite_exec

Execute SQL against a SQLite database inside the target process. `target`: process name or pid (string). `db_path`: path to the .db file. `sql`: SQL statement to execute.

ParameterTypeDescription
db_path *string
sql *string
target *string

frida_sqlite_dump

Full schema + data dump of a SQLite database in the target process. `target`: process name or pid (string). `db_path`: path to the .db file.

ParameterTypeDescription
db_path *string
target *string

frida_ssl_pinning_disable

Inject a universal SSL pinning bypass script. `target`: process name or pid (string). Works on both Android (TrustManager, OkHttp3 CertificatePinner, Conscrypt) and iOS/macOS (SecTrustEvaluateWithError, SecTrustEvaluate, NSURLSession challenge delegates). Returns list of successfully bypassed mechanisms.

ParameterTypeDescription
target *string

frida_crypto_hook

Hook crypto APIs to capture encryption/decryption operations live. Platform hooks: - macOS/iOS: CCCrypt (CommonCrypto), SecKeyCreateEncryptedData, SecKeyCreateDecryptedData - Android: javax.crypto.Cipher.doFinal (all overloads) Each captured operation includes: API name, operation type (encrypt/decrypt), algorithm, key bytes (hex), and I/O sizes. `target`: process name or pid (string). `duration_seconds`: how long to capture (default 10).

ParameterTypeDescription
target *string
duration_secondsinteger

frida_string_sniffer

Sniff strings as they are created at runtime in a target process. Hooks string-producing functions to capture decoded, decrypted, or dynamically constructed strings: - ObjC: NSString -initWithBytes:length:encoding:, +stringWithUTF8String: - Native: strlen (with min_length filter) `target`: process name or pid (string). `min_length`: minimum string length to capture (default 4). `duration_seconds`: how long to sniff (default 10). Returns unique strings observed during the capture window. Useful for finding decrypted config, URLs, tokens, keys in obfu…

ParameterTypeDescription
target *string
duration_secondsinteger
min_lengthinteger

frida_ssl_keylog

Extract TLS session keys for Wireshark decryption (SSLKEYLOGFILE). Hooks SSL/TLS internals to capture pre-master secrets: - BoringSSL: SSL_CTX_set_keylog_callback + SSL_new interception - macOS SecureTransport: SSLHandshake fallback Writes keys in standard NSS SSLKEYLOGFILE format to `output_file`. Point Wireshark's (Pre)-Master-Secret log to this file to decrypt captured TLS traffic. `target`: process name or pid (string). `output_file`: local path for the keylog output file. `duration_seconds`: how long to capture keys (default 30).

ParameterTypeDescription
output_file *string
target *string
duration_secondsinteger

frida_time_warp

Warp time perception for a target process. Anti-sandbox evasion. Hooks time APIs: gettimeofday, clock_gettime, mach_absolute_time, time(). Manipulates the return values to alter the process's perception of elapsed time. `target`: process name or pid (string). `speed_factor`: time speed multiplier. 0.0 = freeze time, 1.0 = normal, 2.0 = double speed, 0.5 = half speed. `fixed_time`: if set, all time functions return this specific Unix timestamp (seconds since epoch). Overrides speed_factor. Common uses: bypass time-based anti-analysis checks, accelerate…

ParameterTypeDescription
target *string
fixed_time
speed_factornumber

frida_anti_root_bypass

Bypass root/jailbreak detection in a target process. iOS: hooks NSFileManager for jailbreak paths, sysctl for P_TRACED, getenv for DYLD_INSERT_LIBRARIES. Android: hooks File.exists for su paths, Runtime.exec for su, spoofs Build.TAGS/FINGERPRINT. `target`: process name or pid (string). Returns a list of successfully installed bypasses.

ParameterTypeDescription
target *string

frida_anti_debug_bypass

Bypass debugger detection mechanisms in a target process. Hooks: ptrace(PT_DENY_ATTACH) -> return 0, sysctl P_TRACED -> clear, ObjC isDebuggerAttached -> false, getppid -> 1 (launchd), Android Debug.isDebuggerConnected -> false. `target`: process name or pid (string). Returns a list of successfully installed bypasses.

ParameterTypeDescription
target *string

frida_host_diagnostics

Collect local host diagnostics relevant to Frida MCP operation.

frida_bridge_status

Check whether Frida 17 ObjC/Java/Swift bridge packages can be bundled.

ParameterTypeDescription
bridge_root

frida_bridge_install

Install Frida 17 runtime bridge packages using official frida-pm.

ParameterTypeDescription
bridge_root
bridges
registry
save_optionalboolean

frida_gadget_config

Generate a Frida Gadget configuration.

ParameterTypeDescription
acl
address
asset_root
certificate
code_signingstring
interactionstring
on_change
on_loadstring
on_port_conflictstring
origin
output_path
parameters
path
port
runtimestring
teardownstring
token

frida_gadget_script_template

Return a Frida Gadget-compatible script template.

ParameterTypeDescription
kindstring

frida_gadget_bundle_assets

Copy Gadget library, config, and optional script into a staging directory.

ParameterTypeDescription
gadget_library_path *string
output_dir *string
config_json
config_path
library_name
script_path

frida_gumjs_template

Return an advanced GumJS template for direct use with script_load.

ParameterTypeDescription
kind *string
symbol