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
idasql — Vibe Reverse Engineer with IDA Pro: An interface for IDA in SQL via live virtual tables. Don't let appearances deceive you! :) | Kitploit
Tools/GitHubGitHub/allthingsida/idasql
Static AnalysisReverse EngineeringDebuggersMalware AnalysisBinary AnalysisAI-Assisted ReversingFirmware Analysis
GitHuballthingsida/idasql

idasql

Vibe Reverse Engineer with IDA Pro: An interface for IDA in SQL via live virtual tables. Don't let appearances deceive you! :)

View Repository
36320485 days agoReviewed by Kitploit
Share

IDASQL

Ask your AI agent about any binary open in IDA Pro, in plain English. It answers from the live database.

Download IDASQL Donate with PayPal Buy Me a Coffee Star IDASQL on GitHub

[!TIP] You don't need to know SQL. You ask in plain English: "who calls this function?", "rename these and comment them", "what does this binary do?". Your agent writes and runs the SQL for you. SQL is simply the language idasql speaks with the agent, one every agent already knows. You can type it yourself whenever you want to, but you never have to.

[!NOTE] idasql exports nothing. Despite the "sql" in its name, idasql never converts or exports your IDB to a SQL database, or to anything else. It is a virtual SQL interface on top of the IDA SDK: every query reads your live IDB, and every change goes straight back into it.

IDASQL gives AI coding agents full, live access to IDA databases: 70+ tables covering functions, xrefs, strings, types, pseudocode and more, all read and write. It works with Claude Code, Copilot CLI, Codex, or any MCP (Model Context Protocol) client, or anything that speaks HTTP. It is created by Elias Bachaalany.

Watch: Vibe Reverse Engineering #1: IDASQL & the xSQL Concept
▶ Watch: Vibe Reverse Engineering #1: IDASQL & the xSQL Concept

Two ways to work

Work fully headless, with no IDA window at all, or right inside the IDA you already have open. The agent handles both.

Headless: no IDA window needed

/idasql:connect Open sample.exe in the background and let's analyze it together.

The agent runs IDA in the background (idasql -s) and analyses raw binaries itself. It opens as many databases as you like, and saves them when you say so.

Inside IDA: just open your database

There's nothing to set up in IDA. Open your database as usual, then ask your agent. It finds your IDA by itself:

You: how many functions in target.dll?

The agent then runs:

$ idasql instances                        # every running IDA: target.dll.i64 is pid 4242, no SQL server
$ idasql http start 4242
remote control is off for target.dll.i64 (pid 4242)
turn it on with: idasql remote on 4242   (or .remote on in that IDA)
$ idasql remote on 4242 && idasql http start 4242
remote control on for target.dll.i64 (pid 4242)
http://127.0.0.1:8174

It then checks it is talking to the right database, and counts:

Agent: target.dll has 812 functions. That IDA wasn't serving SQL, so I turned on its remote control and started an HTTP server on localhost. idasql remote off 4242 and idasql http stop 4242 undo both.

The whole exchange takes about 30 seconds. The agent switches remote control on only for the database you asked about.

Prefer to point the agent yourself? The classic way works as it always has. In IDA's idasql> prompt type .http start. IDA prints IDASQL HTTP server: http://127.0.0.1:8174 and copies the connection instructions to the clipboard. Then:

/idasql:connect Let's work with this database: http://127.0.0.1:8174

Run .pin http once, and that database starts its server every time it opens.

What you get

  • No SQL to learn: you write plain-language prompts, and the agent writes the queries.
  • From binary back to source code: take a compiled binary back to clean, fully recompilable source code. The agent recovers every name, type, struct and prototype, then writes out source you can build again. See real projects rebuilt this way in vibe-re.
  • Headless or inside IDA: the agent runs IDA in the background, or finds the IDA you have open and connects. You can also point it yourself with /idasql:connect.
  • Clickable answers: function names are ida:// links that jump IDA to the code (IDA 9.4+).
  • 70+ live tables, read and write: functions, xrefs, strings, types, pseudocode, ctree, microcode, comments, renames, prototypes and patches. Nothing is exported or indexed first.
  • IDAPython on request: the agent writes a script and runs it in the IDA you name.
  • MCP server built in: idasql -s db.i64 --mcp, or .mcp start inside IDA, and any MCP (Model Context Protocol) client gets an idasql_query tool.
  • Pin it and forget it: run .pin http (or .pin mcp) once in IDA, and that database serves every time it opens, so your agent connects with no step at all.
  • Many databases at once: compare, cross-reference, and move annotations between them.
  • Agent-ready: 16 skills for Claude Code, Copilot CLI and Codex, plus HTTP and MCP servers for everything else. To see what agents build with it, check out vibe-re, a gallery of agentic "vibe" reverse engineering.
  • A safety net: idasql rescue saves the work of a frozen IDA, and idasql close ends one cleanly.
  • IDA 9.2 to 9.5 on Windows, Linux and macOS, x64 and ARM64.

Common misconceptions

You may have heardActually
"I have to learn SQL."No. You ask in plain language, and the agent writes the SQL.
"It only reads."It writes too: renames, comments, types, structs, prototypes, patches, bookmarks, and undo checkpoints.
"It exports the database first."No. Every query runs live against the open database, and every change shows in IDA at once.
"It replaces IDA."It runs on your IDA Pro (9.2 to 9.5) and your license. The pseudocode tables need the Hex-Rays decompiler.
"It only works headless" (or "only in the GUI").Either, or both, with many databases at once.
"It's for Claude only."Any agent: the skills ship for Claude Code, Copilot CLI and Codex, and HTTP and MCP serve the rest.
"It's only for malware."Any binary IDA opens: drivers, firmware, games, libraries.
"The agent will make things up."Its answers come from queries on your database, and on IDA 9.4+ links let you click through to check each one in IDA.
"My binary goes to the cloud."idasql runs on your machine and its servers listen on localhost only. Your agent's model sees what the agent reads, so pick your agent accordingly.

Install in 3 steps

  1. Download the release for your IDA version from Releases (ida92, ida93, ida94 or ida95; builds are IDA-version-specific):

    ArchiveWhat's in it
    *-plugin.zipThe HCLI-compatible plugin (Windows x64, Linux x64, macOS ARM64)
    *-cli.zipThe idasql command line, by host architecture
    *-arm64-plugin.zipARM64 plugins, installed by hand: Linux (IDA 9.3+) and Windows (IDA 9.4+)
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    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.

    491
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    462
  • 3

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    345
  • 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.

    340
  • 5

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    306
  • 6

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

    292

Explore all tools

Browse our collection of tools

View all tools →