macOS
brew install f3local Homebrew formula metadata
sudo port install f3MacPorts ports tree · sysutils/f3/Portfile · 来源: api.github.com
安装
brew install f3local Homebrew formula metadata
sudo port install f3MacPorts ports tree · sysutils/f3/Portfile · 来源: api.github.com
sudo apk add f3Alpine Linux edge package indexes · f3 · 来源: dl-cdn.alpinelinux.org
sudo dnf install f3Fedora Rawhide package metadata · f3 · 来源: dl.fedoraproject.org
nix profile install nixpkgs#f3nixpkgs package indexes · pkgs/by-name/f3/f3/package.nix · 来源: api.github.com
sudo zypper install f3openSUSE Tumbleweed package metadata · f3 · 来源: download.opensuse.org
概览
Test various flash cards
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
f3read | cli | 全局可执行文件 | |
f3write | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/AltraMayor/f3
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | argp-standalone |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | f3 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
f3 9.0-1
test real flash memory capacity
https://fight-flash-fraud.readthedocs.io/en/stable/
sudo apt install f3f3
nix profile install nixpkgs#f3f3 8.0-2build2
test real flash memory capacity
https://fight-flash-fraud.readthedocs.io/en/stable/
sudo apt install f3f3 10.0-r0
F3 - Fight Flash Fraud
http://oss.digirati.com.br/f3/
sudo apk add f3f3-doc 10.0-r0
F3 - Fight Flash Fraud (documentation)
http://oss.digirati.com.br/f3/
sudo apk add f3-docf3-extra 10.0-r0
Extra tools for f3
http://oss.digirati.com.br/f3/
sudo apk add f3-extraf3 9.0-3.fc44
Utility to test for fake flash drives and cards
https://oss.digirati.com.br/f3/
sudo dnf install f3f3 9.0-1.3
Fight Flash Fraud / Fight Fake Flash
http://oss.digirati.com.br/f3/
sudo zypper install f3f3
sudo port install f3来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.