macOS
brew install ratslocal Homebrew formula metadata
sudo port install ratsMacPorts ports tree · security/rats/Portfile · 来源: api.github.com
安装
brew install ratslocal Homebrew formula metadata
sudo port install ratsMacPorts ports tree · security/rats/Portfile · 来源: api.github.com
sudo dnf install ratsFedora Rawhide package metadata · rats · 来源: dl.fedoraproject.org
概览
Rough auditing tool for security
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
rats | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | rats |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
rats 2.4-31.fc44
Rough Auditing Tool for Security
https://code.google.com/p/rough-auditing-tool-for-security/
sudo dnf install ratsrats
sudo port install rats来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.