Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 flawfinder

查看 flawfinder 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install flawfinder

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install flawfinder

MacPorts ports tree · devel/flawfinder/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add flawfinder

Alpine Linux edge package indexes · flawfinder · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install flawfinder

Debian stable package indexes · flawfinder · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install flawfinder

Fedora Rawhide package metadata · flawfinder · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#flawfinder

nixpkgs package indexes · pkgs/by-name/fl/flawfinder/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S flawfinder

Arch Linux sync databases · flawfinder · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install flawfinder

openSUSE Tumbleweed package metadata · flawfinder · 来源: download.opensuse.org

概览

软件包摘要

Examines code and reports possible security weaknesses

命令和别名

  • flawfinder

历史

项目历史与用法

flawfinder is David A. Wheeler's command-line static analysis tool for C and C++ security review. It scans source text for calls and constructs associated with possible weaknesses, ranks findings by risk, and remains a lightweight package-manager staple because it is easy to install, fast to run, and useful before deeper review.

项目历史

Wheeler developed flawfinder as an open source source-code scanner for security weaknesses. The official site explains that it was created to encourage use of static analysis tools and that no one tool is sufficient; flawfinder is meant to be one simple advisor among several.

The project has long been hosted through SourceForge for source, releases, mailing lists, and issue tracking, while later documentation also references GitHub issues, pull requests, a GitHub Action, SARIF output, SonarQube integration, and modern Python packaging. The ChangeLog records the 2.0 series move to semantic versioning in 2017, Python 2.7/3 compatibility, direct pip installation through setuptools, SARIF support in 2021, and security hardening in 2.0.20 in 2026.

采用历史

The official homepage says prepackaged versions are available for many Unix-like systems, explicitly naming Fedora, Debian, Ubuntu, Cygwin, FreeBSD Ports, OpenBSD ports, NetBSD pkgsrc, and Fink. The supplied package-manager metadata also records packaging in Homebrew, MacPorts, Nix, pacman, zypper, apk, Debian, Ubuntu, and Fedora ecosystems.

flawfinder also earned official CWE compatibility and a CII Best Practices passing badge, which helped make it recognizable in security tooling catalogs and CI pipelines.

使用方式

The basic use case is intentionally small: install with pip or a system package manager, then run `flawfinder` over a file or directory. Findings are assigned risk levels, and output formats include text, HTML, CSV, SARIF, and SonarQube-compatible output.

The tool's design trades deep semantic analysis for speed and availability. Its README notes that it can analyze programs that cannot be built or linked, while also warning that it can produce false positives and miss issues because it lacks full control-flow, data-flow, type, namespace, and scope information.

为什么软件包爱好者会关心

flawfinder is a classic small security package: a single-purpose scanner with no heavyweight service dependency, available through many OS package managers, pip, and CI integrations. It is especially relevant to package history because it bridges early-2000s free-software security scanning, distribution packaging, CWE-era rule classification, and modern SARIF-based code scanning.

时间线

  • 2001: flawfinder and RATS are released simultaneously on May 21.
  • 2002: SANS review coverage appears among the official site's collected reviews.
  • 2004: Debian Security Audit Project testimonial records use of flawfinder.
  • 2017: 2.0.0 changes versioning to semantic versioning.
  • 2017: 2.0.2 adds Python 2.7 and Python 3 support.
  • 2017: 2.0.4 switches to setuptools and direct pip install support.
  • 2021: 2.0.16 adds SARIF output.
  • 2026: 2.0.20 ships security hardening, Sonar output, encoding handling improvements, and CI workflow updates.

Related projects

  • RATS is the historically closest related project; the official site says the two scanners were developed independently and released simultaneously.
  • ITS4, Warnbuf, Stumoch, CWE, SARIF, SonarQube, and GitHub code scanning are related security-analysis or reporting contexts discussed by the official documentation.

安全态势

尚未找到受保护工具覆盖

没有找到 flawfinder 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
flawfindercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.0.20
管理器更新时间2026-05-18
本地数据OK
上游not checked
检测到的最新版本未检测到

https://dwheeler.com/flawfinder/

安装元数据

软件包元数据

软件包键brew:flawfinder
版本2.0.20
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/flawfinder
主页https://dwheeler.com/flawfinder/
仓库https://sourceforge.net/p/flawfinder/code
上游文档https://dwheeler.com/flawfinder
许可证GPL-2.0-or-later
源码归档https://dwheeler.com/flawfinder/flawfinder-2.0.20.tar.gz
最后更新2026-05-18T00:00:27Z
Pulseupdated
依赖python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

flawfinder 2.0.19-1.1

examines source code and looks for security weaknesses

https://dwheeler.com/flawfinder/

sudo apt install flawfinder
  • Section: utils
  • Architecture: all
  • 1 依赖
  • normalized package name match
  • 匹配方式:Flawfinder
Debian stable package indexes · deb.debian.org · Debian stable package indexes: flawfinder from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

flawfinder

nix profile install nixpkgs#flawfinder
  • normalized package name match
  • 匹配方式:Flawfinder
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fl/flawfinder/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

flawfinder 2.0.19-1.1

examines source code and looks for security weaknesses

https://dwheeler.com/flawfinder/

sudo apt install flawfinder
  • Section: universe/utils
  • Architecture: all
  • 1 依赖
  • normalized package name match
  • 匹配方式:Flawfinder
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: flawfinder from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

flawfinder 2.0.19-r5

Examines C/C++ source code for security flaws

https://dwheeler.com/flawfinder/

sudo apk add flawfinder
  • License: GPL-2.0
  • Architecture: x86_64
  • Source Package: flawfinder
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Flawfinder
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: flawfinder from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

flawfinder-doc 2.0.19-r5

Examines C/C++ source code for security flaws (documentation)

https://dwheeler.com/flawfinder/

sudo apk add flawfinder-doc
  • License: GPL-2.0
  • Architecture: x86_64
  • Source Package: flawfinder
  • normalized package name match
  • 匹配方式:Flawfinder
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: flawfinder-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

flawfinder-pyc 2.0.19-r5

Precompiled Python bytecode for flawfinder

https://dwheeler.com/flawfinder/

sudo apk add flawfinder-pyc
  • License: GPL-2.0
  • Architecture: x86_64
  • Source Package: flawfinder
  • 1 依赖
  • normalized package name match
  • 匹配方式:Flawfinder
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: flawfinder-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

flawfinder 2.0.11-16.fc44

Examines C/C++ source code for security flaws

http://www.dwheeler.com/flawfinder/

sudo dnf install flawfinder
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: flawfinder
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Flawfinder
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: flawfinder from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

flawfinder 2.0.20-1

Searches through source code for potential security flaws

https://dwheeler.com/flawfinder/

sudo pacman -S flawfinder
  • License: GPL-2.0-or-later
  • Architecture: any
  • 1 依赖
  • normalized package name match
  • 匹配方式:Flawfinder
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: flawfinder from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

flawfinder 2.0.20-1.1

C/C++ source code security flaw examination tool

https://www.dwheeler.com/flawfinder/

sudo zypper install flawfinder
  • License: GPL-2.0-or-later
  • Category: Development/Tools/Other
  • Architecture: noarch
  • Source Package: flawfinder
  • 3 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Flawfinder
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: flawfinder from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

flawfinder

sudo port install flawfinder
  • normalized package name match
  • 匹配方式:Flawfinder
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/flawfinder/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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