A free vulnerability scanner for IDA Pro
/ 2 min read / #reverse #ida #sast #tooling
This is my rewrite of a piece I wrote for the Symbiotic Security blog.
Summary
When you reverse a binary in IDA Pro, Hex-Rays hands you clean pseudocode, but nothing tells you which lines are dangerous. Source-level SAST tools exist, but using them means exporting pseudocode into a separate workflow that nobody actually keeps up. So I built ida-security-scanner, a free and open plugin that runs security rules on the decompiler output and shows the findings inside IDA.
The gap it fills
Binary security review is still mostly manual pattern spotting. You scroll pseudocode looking for a strcpy, a hardcoded key, a format string you control. That works until the binary is large, and then attention is the bottleneck. Static analysis is the standard answer for source code, yet reverse engineers rarely get it, because the decompiled code never leaves IDA in a form a scanner can read without friction. The plugin removes the friction by bringing the scanner to the pseudocode instead of the other way around.
How it works
The plugin extracts Hex-Rays pseudocode and runs opengrep rules over it, then maps each finding back to the function it came from. You scan a single function with a shortcut or the whole binary at once, and results appear in the Functions window with a severity next to each hit. An optional AI step writes a plain-language explanation of why a finding matters.
What it catches
The rule set targets the patterns that actually show up in binaries:
- Hardcoded credentials and keys.
- Unsafe memory operations and buffer overflow risks.
- Dangerous API calls such as
getsandstrcpy. - Weak cryptography.
- Command injection.
- Path traversal.
Scope and limits
The plugin is read-only. It does not modify the IDA database and it sends nothing off the machine. Decompiled pseudocode has real limits, since names and types are often gone, so a rule sees less than it would at source level. Even so, turning a manual scroll into a ranked list of candidates is a large time saver on any non-trivial target.
Who it is for
Reverse engineers, AppSec teams auditing shipped binaries, and CTF players who want to triage a challenge binary in seconds rather than minutes. It was also my entry to the Hex-Rays IDA Plugin Contest.