Automic VaultAutomic Vault

brew

Install f3 with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Test various flash cards. Version 10.0 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install f3

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install f3

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

Linux

Alpine Linux apkverified · 92%
sudo apk add f3

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

Debian aptverified · 92%
sudo apt install f3

Debian stable package indexes · f3 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install f3

Fedora Rawhide package metadata · f3 · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#f3

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

openSUSE zypperverified · 92%
sudo zypper install f3

openSUSE Tumbleweed package metadata · f3 · source: download.opensuse.org

overview

Package summary

Test various flash cards

Commands and aliases

  • f3read
  • f3write

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
f3readcliglobal executable
f3writecliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version10.0
manager updated2026-06-22
local dataok
upstreamcurrent
latest detectedv10.0

https://github.com/AltraMayor/f3

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:f3
Version10.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/f3
Homepagehttps://fight-flash-fraud.readthedocs.io/en/latest/
Repositoryhttps://github.com/AltraMayor/f3
Upstream docshttps://fight-flash-fraud.readthedocs.io/en/latest
LicenseGPL-3.0-only
Source archivehttps://github.com/AltraMayor/f3/archive/refs/tags/v10.0.tar.gz
Last updated2026-06-22T14:03:18-07:00
Pulseupdated
Dependenciesargp-standalone
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Combined YAML source

View the package source record on GitHub.

combined/f3.yml

Used sources

  • 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