pkg.sopackage field notes

brew / 排名 1501

使用 Homebrew 安装 f3

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install f3

provider-native install command

概览

软件包摘要

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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
f3read可执行文件已索引可执行文件从本地可执行文件索引发现。
f3write可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本10.0
管理器更新时间2026-06-22
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:f3
版本10.0
软件包管理器Homebrew
主页https://fight-flash-fraud.readthedocs.io/en/latest/
仓库https://github.com/AltraMayor/f3
最后更新2026-06-22T14:03:18-07:00
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

此页面由 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
  • curated package history
  • pkgdb category and tag curation