Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
r2ai — Radare2 AI plugin using local or remote LLMs for decompilation, function explanation, vulnerability detection, renaming, and scripted reverse engineering. | Kitploit
Tools/GitHubGitHub/radareorg/r2ai
Static AnalysisVulnerability AnalysisCode AnalysisReverse EngineeringScripting & AutomationMalware AnalysisBinary AnalysisAI-Assisted ReversingTop in AI-Assisted Reversing #3
55174116Dec 2, 2026Reviewed by Kitploit
GitHub
radareorg/r2ai

r2ai

Radare2 AI plugin using local or remote LLMs for decompilation, function explanation, vulnerability detection, renaming, and scripted reverse engineering.

View RepositoryWebsite
Share

R2AI - Augmented reversing with LLM for radare2

         ╭─────────────────────────────────╮
         │ ,______  .______ .______  ,___  │
 ╭──╮    │ : __   \ \____  |:      \ : __| │
 │ _│_   │ |  \____|/  ____||  _,_  || : | │
 │ O O  <  |   :  \ \   .  ||   :   ||   | │
 │  │╷   │ |   |___\ \__:__||___|   ||   | │
 │  ││   │ |___|        :       |___||___| │
 │ ─╯│   ╰─────────────────────────────────╯
 ╰───╯

ci radare2

Components

This repository contains two plugins for radare2:

  • r2ai - native AI plugin for radare2
  • decai - r2js plugin with special focus on decompilation

If you are looking to use radare2 with other agents via MCP:

  • radare2-mcp - the official radare2 mcp
  • r2copilot - the mcp with focus on CTF r2copilot

If you are looking for a radare2 focused autonomous agent:

  • r2agent - automate radare2 workflows through autonomous agents. r2agent

Features

  • Configure different roles and customize prompts
  • Scriptable via r2pipe via the r2ai command
  • Live with repl and batch mode from cli or r2 prompt
  • Support Automatic (ReAct) mode to solve tasks using function calling
  • Use local and remote language models (ollama, openai, grok, anthropic, ..)
  • RAG markdown, code or textfiles using its native vector database
  • Embed the output of an r2 command and resolve questions on the given data

User defined Prompts

[0x00000000]> r2ai -q
explain: Explain the current function -
devices: Find and explain devices used -
libs: Group imports by Libraries -
varnames: Better variable names -
autoname: Automatically suggest a better name for this function -
vulns: Find vulnerabilities or bugs in the current function -
signature: Suggest an improved function signature -
dlopen: List libraries loaded with dlopen - Some libraries are loaded
decompile: Augmented decompilation based on LLM -
[0x00000000]>

Installation

The recommended way to install any of the r2ai components is via r2pm:

$ r2pm -Uci r2ai
$ r2pm -Uci decai

Using r2ai

  • Adds the r2ai command to the radare2 shell: r2 -qc r2ai
  • You can also run the wrapper in $PATH: r2pm -r r2ai

Drop your API keys in environment variables or use the configuration file:

$ export ANTHROPIC_API_KEY=sk-ant-api03-CENSORED
$ export OPENAI_API_KEY=sk-proj-6rlSPS-zN1v...

Or edit the api keys file ~/.config/r2ai/apikeys.txt run:

$ r2ai -K

Saving settings

You may customize and save your configuration settings using your OS's default settings file (e.g ~/.radare2rc on Linux). For example, the following configuration sets Claude 3.7 by default, with max output tokens to 64000.

$ r2ai -E

then you can type the commands you want to run when the r2ai plugin is loaded:

r2ai -e api=anthropic
r2ai -e model=claude-sonnet-5-5
r2ai -e max_tokens=64000

Further Reading

  • There's a chapter in the official r2book
  • Cryptax on lmstudio+gptoss blog post
  • Malware analysis with r2ai by Cryptax and Daniel Nakov
  • Analysis of Linux/Trigona ransomware, Linux/Prometei botnet and W32/SkyAI with r2ai

Videos

  • Solving a crackme
  • De-obfuscation of malware Linux/Ladvix
  • Analysis of the /fast option inside Linux/Trigona ransomware

Related Tools

  • ghidra

    Ghidra is a software reverse engineering (SRE) framework

  • capa

    Rule-based static and dynamic analysis tool that identifies capabilities in PE, ELF, .NET, and shellcode files, mapping them to MITRE ATT&CK techniques for malware triage.

  • yara-x

    A rewrite of YARA in Rust.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    789
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    453
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    394
  • 5

    faraday

    infobyte/faraday

    Open-source and AI-powered cybersecurity tools for offensive security, vulnerability management, and autonomous pentesting. Built by hackers in Latin America, used worldwide.

    354
  • 6

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    332

Explore all tools

Browse our collection of tools

View all tools →