# rats mit Homebrew, dnf, MacPorts installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für rats in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:rats
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install rats
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install rats
```

  Evidenz: MacPorts ports tree: security/rats/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install rats
```

  Evidenz: Fedora Rawhide package metadata: rats from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:rats
- **Paketmanager:** Homebrew
- **Version:** 2.4
- **Quellzusammenfassung:** Rough auditing tool for security
- **Homepage:** <https://security.web.cern.ch/security/recommendations/en/codetools/rats.shtml>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- rats (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 2.4
## Projektgeschichte und Nutzung

RATS, the Rough Auditing Tool for Security, is a command-line static analysis scanner for finding common security-sensitive programming patterns in source code.

### Projektgeschichte

The official README says RATS was developed, maintained, and distributed by Secure Software, Inc. The 2.4 source archive describes it as a scanner for C, C++, Perl, PHP, Python, and Ruby source that flags issues such as buffer overflows and TOCTOU race conditions.

### Adoptionsgeschichte

RATS circulated as a small Unix security-auditing utility through source archives and package managers. Homebrew, Debian-derived manpage packaging, Fedora, MacPorts, and other Unix package collections carried it as a lightweight source-code auditing tool.

### Wie es verwendet wird

Users run rats against files or directories and can select vulnerability databases with -d, force a language with -l, choose warning levels, recurse through directories, and emit text, XML, or HTML reports.

### Warum Paket-Nerds sich dafür interessieren

Package maintainers care about RATS because it is an old-style security CLI: small C code, autoconf build, XML vulnerability databases, and a package surface that exposes static-analysis behavior without a large framework.

### Zeitleiste

- 2001: The bundled manpage date records RATS documentation in September 2001.
- 2.4: Homebrew packages the Google Code archive release as the stable version.

### Related projects

- The README notes Expat as a build/runtime requirement and credits Ben Laurie for OpenSSL-specific database contributions.

### Quellen

- Google Code Archive: official rough-auditing-tool-for-security project and source download.
- Homebrew formula metadata for rats stable 2.4.
- RATS 2.4 README and rats.1 from the official Google Code archive tarball.


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- dnf - rats - 2.4-32.fc45: normalized package name match | Fedora Rawhide package metadata: rats from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Rough Auditing Tool for Security | https://code.google.com/p/rough-auditing-tool-for-security/
- MacPorts - rats: normalized package name match | MacPorts ports tree: security/rats/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/rats.yml](https://github.com/mxcl/pkgdb/blob/main/combined/rats.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
