Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install f3

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install f3

MacPorts ports tree · sysutils/f3/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

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

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

概览

软件包摘要

Test various flash cards

命令和别名

  • f3read
  • f3write

历史

项目历史与用法

F3, short for Fight Flash Fraud or Fight Fake Flash, is a GPLv3 flash-storage testing toolkit that writes and verifies pseudorandom data to detect counterfeit USB drives and memory cards.

项目历史

F3 began in 2010 after Michel Machado bought a 32 GB microSDHC card for an Android phone and found it failed when filled. The official history says the project was inspired by counterfeit-flash reports and by H2testw, whose algorithm was documented but whose implementation was Windows-only and not open source.

The original F3 implementation split the H2testw-style test into `f3write` and `f3read`: one fills available space with test files, and the other validates the data. The toolkit later grew Linux-only direct-device tools: `f3probe` to identify fake drives and real sizes quickly, `f3fix` to create a usable partition matching real capacity, and `f3brew` to help developers infer how fake drives behave.

The changelog records a long maintenance line from version 1.0 in August 2010 through version 10.0 in April 2026, with platform support, extra tools, portability work, and newer probing algorithms added over time.

采用历史

F3 became the Unix-like answer to H2testw for users who needed to test flash media outside Windows or wanted auditable source. Its docs explicitly cover Linux, macOS, Windows/Cygwin, FreeBSD, Docker-based workflows, Homebrew, and MacPorts installation paths.

Package-manager adoption follows the practical need: F3 is the small CLI people install before trusting cheap SD cards, USB sticks, camera cards, or marketplace flash media. The input package facts list it across Homebrew, Debian, Ubuntu, Fedora, Alpine, MacPorts, Nix, and openSUSE.

使用方式

The conservative workflow is `f3write` on a mounted filesystem followed by `f3read` on the same path. This fills free space with test files and verifies whether the drive returns the same data, while also estimating write and read speeds.

`f3probe` is the faster destructive path for large media because it works directly on an unmounted block device and writes only what is necessary to infer real capacity. `f3fix` then uses probe output to create a partition that fits the usable portion of a fake device.

The docs repeatedly warn that testing suspect media can destroy data, especially because fake devices may overwrite earlier sectors while pretending to have more capacity.

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

F3 is a classic package-nerd utility because it turns a hardware scam into a reproducible command-line test. It is small C code, works in scripts, has simple executables, and answers a question package managers often face indirectly: can this storage device actually be trusted?

It also matters culturally as an open-source, cross-platform counterweight to H2testw. The file format compatibility and staged tool evolution show a pragmatic Unix approach: first reproduce the trusted test, then add direct-device probes and repair helpers.

时间线

  • 2010: Project started after a fake 32 GB microSDHC card exposed the need for an open-source H2testw-like tool.
  • 2010: Version 1.0 initial release.
  • 2011: Version 2.0 adds macOS support.
  • 2014: Version 3.0 adds Windows/Cygwin support and adopts H2testw's file format.
  • 2014: Version 4.0 adds FreeBSD support.
  • 2014: Version 5.0 adds experimental `f3probe` and `f3fix`.
  • 2015: Version 6.0 adds experimental `f3brew`.
  • 2017: Version 7.0 marks `f3probe`, `f3fix`, and `f3brew` stable for Linux.
  • 2025: Version 9.0 adds portability improvements and GitHub Actions testing.
  • 2026: Version 10.0 adds a new `f3probe` probing algorithm and moves the codebase to C17.

Related projects

  • H2testw is the Windows tool and file-format reference that inspired F3.
  • FakeFlashTest and related flash-test tools occupy the same counterfeit-storage detection niche.
  • Homebrew and MacPorts are documented install paths for macOS users.

安全态势

风险级别:绿色

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 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本10.0
管理器更新时间2026-06-22
本地数据OK
上游当前
检测到的最新版本v10.0

https://github.com/AltraMayor/f3

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:f3
版本10.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/f3
主页https://fight-flash-fraud.readthedocs.io/en/latest/
仓库https://github.com/AltraMayor/f3
上游文档https://fight-flash-fraud.readthedocs.io/en/latest
许可证GPL-3.0-only
源码归档https://github.com/AltraMayor/f3/archive/refs/tags/v10.0.tar.gz
最后更新2026-06-22T14:03:18-07:00
Pulseupdated
依赖argp-standalone
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namef3
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%

f3 9.0-1

test real flash memory capacity

https://fight-flash-fraud.readthedocs.io/en/stable/

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

f3

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

f3 8.0-2build2

test real flash memory capacity

https://fight-flash-fraud.readthedocs.io/en/stable/

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

f3 10.0-r0

F3 - Fight Flash Fraud

http://oss.digirati.com.br/f3/

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

f3-doc 10.0-r0

F3 - Fight Flash Fraud (documentation)

http://oss.digirati.com.br/f3/

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

f3-extra 10.0-r0

Extra tools for f3

http://oss.digirati.com.br/f3/

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

f3 9.0-3.fc44

Utility to test for fake flash drives and cards

https://oss.digirati.com.br/f3/

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

f3 9.0-1.3

Fight Flash Fraud / Fight Fake Flash

http://oss.digirati.com.br/f3/

sudo zypper install f3
  • License: GPL-3.0-only
  • Category: Hardware/Other
  • Architecture: x86_64
  • Source Package: f3
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:F3
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: f3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

f3

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

来源线索

由仓库数据生成

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

Combined YAML source

View the package source record on GitHub.

combined/f3.yml

使用的来源

  • 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