frida

Instruments running processes with Frida hook scripts to capture runtime API events.

3.7k|572|Updated Oct 17, 2025
One-click install
npx skills add https://github.com/gadievron/raptor --skill frida
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frida
Source: https://github.com/gadievron/raptor/tree/main/.claude/skills/frida
Command: npx skills add https://github.com/gadievron/raptor --skill frida

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires frida-tools.

What problem does it solve?

Static analysis can flag dangerous sinks in a binary or mobile app, but it cannot prove they actually execute at runtime. This Skill attaches Frida to a target process, loads hook scripts, and captures send() events into a managed run directory so you can confirm sinks fire, trace API calls, bypass SSL pinning, and harvest fuzzing seeds.

Core Features & Use Cases

  • Runtime sink confirmation: Attach to or spawn a process and verify that LLM-flagged dangerous functions actually execute, feeding runtime evidence into validation pipelines.
  • Bundled hook templates: Use templates like api-trace, ssl-unpin, bb-coverage, seed-harvest, heap-trace, and jni-trace for common instrumentation tasks across local, USB, and remote frida-server targets.
  • Structured output: Every run produces events.jsonl, metadata.json, a human-readable report, and optional artifacts like drcov coverage files or fuzz-ready seed corpora.
  • Use Case: A pinned mobile app blocks your MITM proxy. Run the ssl-unpin template against the app's bundle id over USB with spawn mode to bypass certificate pinning and inspect its traffic.

Quick Start

Ask the assistant to trace API calls in a target binary for 60 seconds using the frida api-trace template and summarize the captured events.

Frequently Asked Questions about frida

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace API calls in a running process with Frida?

Run the api-trace template against a target PID, process name, or binary path with a duration limit. The runner hooks functions like open, read, write, connect, and execve, then writes one JSON object per event to events.jsonl in the run directory.

How to bypass SSL pinning on a mobile app with Frida?

Use the ssl-unpin template with the app's bundle id, the --usb flag, and --spawn mode. It hooks iOS/macOS Security.framework and OpenSSL verification paths; Android X509TrustManager hooks need the Java bridge, which is unbundled on Frida 17.

Can Frida attach to a remote target over the network?

Yes, pass --host with the target address to connect to a remote frida-server. Note that most frida-server binaries bind to 127.0.0.1 by default, so start it with -l 0.0.0.0:27042 or SSH-forward port 27042.

Why does Frida fail with ptrace denied or task_for_pid errors?

On Linux, ptrace denied means kernel.yama.ptrace_scope is 1 or higher; lower it or use spawn-and-attach. On macOS, task_for_pid failures indicate hardened-runtime or system processes requiring SIP disabled or a get-task-allow entitlement.

What are the limitations of Frida runtime evidence collection?

Sink, exec, and load events only count as evidence when the target binary is on the call stack in spawn mode. Seed-harvest and jni-trace runs produce no runtime evidence, and --unsafe-attach bypasses the sandbox entirely, which is logged in metadata.json.