macOS
brew install sf-pwgenlocal Homebrew formula metadata
sudo port install sf-pwgenMacPorts ports tree · security/sf-pwgen/Portfile · source: api.github.com
brew / rank 10705
Generate passwords using SecurityFoundation framework. Version 1.5 via Homebrew; verified 2026-09-13. Also installable with macports: sudo port install sf-pwgen.
install
brew install sf-pwgenlocal Homebrew formula metadata
sudo port install sf-pwgenMacPorts ports tree · security/sf-pwgen/Portfile · source: api.github.com
overview
Generate passwords using SecurityFoundation framework
history
sf-pwgen is a macOS command-line password generator that calls the SecurityFoundation framework used by Apple's password-assistant functionality.
Anders Bergh created sf-pwgen as a command-line frontend to macOS SecurityFoundation password generation. The repository also includes a reverse-engineered `SFPasswordAssistant.h` header for the password-assistant API used by applications such as Keychain Access.
The documented command identifies version 1.5 and supports memorable, random, letters-only, alphanumeric, and numeric generation algorithms. The README says the command runs on OS X Mountain Lion and later, while the included header targets Snow Leopard and later.
The supplied source_facts.package-manager field records distribution through Homebrew and MacPorts, keeping the macOS-specific utility accessible through both major Mac package collections.
Invoke `sf-pwgen` with an algorithm, count, and desired length; by default it generates five 12-character memorable passwords. The documented language option is explicitly noted as broken.
sf-pwgen exposes a private-feeling piece of classic macOS functionality—the SecurityFoundation password assistant—as a composable terminal command. It is also a compact historical artifact of package-manager culture around otherwise GUI-oriented platform frameworks and undocumented APIs.
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 |
|---|---|---|---|
sf-pwgen | 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/anders/pwgen
install metadata
| Package key | brew:sf-pwgen |
|---|---|
| Version | 1.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sf-pwgen |
| Homepage | https://github.com/anders/pwgen/ |
| Repository | https://github.com/anders/pwgen |
| Upstream docs | https://github.com/anders/pwgen/ |
| License | Zlib |
| Source archive | https://github.com/anders/pwgen/archive/refs/tags/1.5.tar.gz |
| Last updated | 2026-09-13T08:22:01Z |
| Pulse | updated |
| Bottle | available (on arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sf-pwgen |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| 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.
sf-pwgen
sudo port install sf-pwgensource 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.