macOS
brew install f3local Homebrew formula metadata
sudo port install f3MacPorts ports tree · sysutils/f3/Portfile · source: api.github.com
brew
Test various flash cards. Version 10.0 via Homebrew; verified 2026-06-22.
install
brew install f3local Homebrew formula metadata
sudo port install f3MacPorts ports tree · sysutils/f3/Portfile · source: api.github.com
sudo apk add f3Alpine Linux edge package indexes · f3 · source: dl-cdn.alpinelinux.org
sudo apt install f3Debian stable package indexes · f3 · source: deb.debian.org
sudo dnf install f3Fedora Rawhide package metadata · f3 · source: dl.fedoraproject.org
nix profile install nixpkgs#f3nixpkgs package indexes · pkgs/by-name/f3/f3/package.nix · source: api.github.com
sudo zypper install f3openSUSE Tumbleweed package metadata · f3 · source: download.opensuse.org
overview
Test various flash cards
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
f3read | cli | global executable | |
f3write | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/AltraMayor/f3
install metadata
| Package key | brew:f3 |
|---|---|
| Version | 10.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/f3 |
| Homepage | https://fight-flash-fraud.readthedocs.io/en/latest/ |
| Repository | https://github.com/AltraMayor/f3 |
| Upstream docs | https://fight-flash-fraud.readthedocs.io/en/latest |
| License | GPL-3.0-only |
| Source archive | https://github.com/AltraMayor/f3/archive/refs/tags/v10.0.tar.gz |
| Last updated | 2026-06-22T14:03:18-07:00 |
| Pulse | updated |
| Dependencies | argp-standalone |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 f3source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.