banteg

banteg / bn

Public

binary ninja cli for agents

22
1
100% credibility
Found Mar 09, 2026 at 22 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

bn provides a text-based interface to interact with the Binary Ninja GUI for reverse engineering tasks like listing functions, decompiling, querying data, and previewing mutations.

How It Works

1
🔍 Discover bn

You learn about bn, a helpful sidekick that lets you dig into program secrets using simple text instructions alongside your visual analyzer.

2
📥 Add bn to your tools

You easily place bn on your computer so it's ready to assist whenever you explore software insides.

3
🔗 Link to your analyzer

You connect bn's companion to your program viewer, creating a private chat line between them.

4
📂 Load a program file

You open a mysterious binary file in your analyzer, setting the stage for discovery.

5
Start exploring

You ask bn to list functions, show code breakdowns, or find connections, getting clear results instantly.

6
🛡️ Try safe changes

You preview renames, type additions, or tweaks to see impacts before making them real, feeling confident.

🎉 Unlock program secrets

You now understand the program's inner workings deeply, speeding up your analysis with smart, easy insights.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 22 to 22 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is bn?

bn is a Python CLI tool that lets you query and mutate binaries analyzed in the Binary Ninja GUI, bridging shell scripting with full RE capabilities via a local Unix socket. It sidesteps Binary Ninja's headless limitations, dumping decompilations, xrefs, types, and structs in JSON, Markdown, or text, while spilling large outputs to files. Install the CLI with uv and a companion plugin via `bn plugin install`, then run commands like `bn decompile sub_401000` or `bn types show Player`.

Why is it gaining traction?

It stands out with preview mode for safe mutations—like renaming symbols, editing structs, or patching bytes—showing diffs before committing, plus batch JSON manifests for bulk ops. Structured outputs and Python execution in the Binary Ninja context make it agent-ready, beating binary ninja vs ghidra for scripted workflows or binary ninja online sidekick use. Features like function bundles and field xrefs hook devs automating RE pipelines.

Who should use this?

Reverse engineers tired of GUI-only Binary Ninja workflows, especially those scripting analysis or building binary ninja tutorial agents. Teams doing binary github nfs disassembly or binary ninja mcp prototyping will like the CLI mutations and exports. AI/automation folks integrating binary ninja cloud or free tools into pipelines.

Verdict

Grab it if you're deep in Binary Ninja—solid docs and tests make the 15 stars and 1.0% credibility score forgivable for an early project. Maturity lags, so test on non-critical work until adoption grows.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.