01 September 2009 | 5,812 views

Graudit – Code Audit Tool Using Grep

Cyber Raptors Hunting Your Data?

Graudit is a simple script and signature sets that allows you to find potential security flaws in source code using the GNU utility grep. It’s comparable to other static analysis applications like RATS, SWAAT and flaw-finder while keeping the technical requirements to a minimum and being very flexible.


Graudit supports several options and tries to follow good shell practices. For a list of the options you can run graudit -h or see below. The simplest way to use graudit is;

You can download Graudit v1.1 here:


Or read more here.


Recent in Countermeasures:
- Scumblr by Netflix – Automatically Scan For Leaks
- WP Security Audit Log – A Complete Audit Log Plugin For WordPress
- Amazon AWS Web Application Firewall (WAF ) Launched

Related Posts:
- Graudit v1.9 Download – Grep Source Code Auditing Tool
- YASAT – Yet Another Stupid Audit Tool
- SpikeSource Spike PHP Security Audit Tool

Most Read in Countermeasures:
- AJAX: Is your application secure enough? - 119,744 views
- Password Hasher Firefox Extension - 117,491 views
- NDR or Backscatter Spam – How Non Delivery Reports Become a Nuisance - 57,641 views

Low-cost VPS Hosting

3 Responses to “Graudit – Code Audit Tool Using Grep”

  1. GZero 1 September 2009 at 9:26 am Permalink

    I really like this. Simple and brutally effective.

    Thanks Darknet!

  2. Henk 6 September 2009 at 4:10 pm Permalink

    This kind of scanner will produce many false positives to be really useful. Another problem not tackled with graudit is the problem with proned custom-made functions.

    Did anyone found a (non-trivial) bug with graudit?

  3. Wireghoul 18 September 2009 at 4:57 am Permalink


    I am the author of the aforementioned software. Version 1.2 has just been released which seriously reduces the number of false positives. The default rule set now focuses on lower hanging fruit.

    I have found SQLi, RFI and command execution in popular web apps with graudit.

    Version 1.2+ will address custom functions (it’s on github, but not in release).