Automic VaultAutomic Vault

brew

rats を Homebrew, dnf, MacPorts でインストール

rats のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install rats

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install rats

MacPorts ports tree · security/rats/Portfile · ソース: api.github.com

概要

パッケージ概要

Rough auditing tool for security

コマンドとエイリアス

  • rats

履歴

プロジェクトの歴史と使われ方

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

プロジェクトの歴史

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.

採用の歴史

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.

使われ方

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.

パッケージ好きにとっての重要性

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.

タイムライン

  • 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.

ソース

  • 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.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 13 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
ratscliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版2.4
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://security.web.cern.ch/security/recommendations/en/codetools/rats.shtml

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:rats
バージョン2.4
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/rats
ホームページhttps://security.web.cern.ch/security/recommendations/en/codetools/rats.shtml
リポジトリhttps://code.google.com/archive/p/rough-auditing-tool-for-security/source/default/source
上流ドキュメントhttps://security.web.cern.ch/security/recommendations/en/codetools/rats.shtml
ライセンスGPL-2.0-or-later
ソースアーカイブhttps://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/rough-auditing-tool-for-security/rats-2.4.tgz
macOS 提供ライブラリexpat
Bottle利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namerats
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

dnf95%

rats 2.4-31.fc44

Rough Auditing Tool for Security

https://code.google.com/p/rough-auditing-tool-for-security/

sudo dnf install rats
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rats
  • 3 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Rats
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: rats from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

rats

sudo port install rats
  • normalized package name match
  • 一致条件: Rats
MacPorts ports tree · api.github.com · MacPorts ports tree: security/rats/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment