rats

Rough Auditing Tool for Security

Install

All systems
curl cmd.cat/rats.sh
Debian Debian
apt-get install rats
Ubuntu
apt-get install rats
Fedora
dnf install rats
Windows (WSL2)
sudo apt-get update sudo apt-get install rats
OS X
brew install rats
Raspbian
apt-get install rats

rats

Rough Auditing Tool for Security

RATS is a security auditing utility for C, C++, PHP, Perl, and Python code. RATS scans source code, finding potentially dangerous function calls. The goal of rats is not to definitively find bugs (yet), but to provide a reasonable starting point for performing manual security audits. The initial vulnerability database is taken directly from things that could be easily found when starting with the book, "Building Secure Software" by Viega and McGraw.