Automic VaultAutomic Vault

brew

Install greenmask with Homebrew, Nix

PostgreSQL dump and obfuscation tool. Version 0.2.22 via Homebrew; verified 2026-07-01.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install greenmask

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#greenmask

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

overview

Package summary

PostgreSQL dump and obfuscation tool

Commands and aliases

  • greenmask

history

Project history and usage

Greenmask is an open-source database dump, anonymization, synthetic-data generation, and restore tool aimed at PostgreSQL workflows, with MySQL work represented in the project materials as a developing area. Its history is short but well documented through official release notes and GitHub releases.

Project history

The project presents itself as a stateless logical dump proxy that does not require database schema changes and remains compatible with familiar PostgreSQL tools such as pg_restore. That design places it closer to backup and staging-data infrastructure than to an application-level masking library.

The v0.1.0 release notes describe the January 2024 release as the first production-ready version, with CI/CD, a Docker Compose playground, transformer improvements, JSON-line protocol fixes, and binary assets. The v0.2.0 release notes describe an October 2024 milestone focused on database subsetting, pgzip compression, topological restore order, INSERT-format restoration, dynamic transformer parameters, and transformer-engine refactoring.

Adoption history

Greenmask entered package-manager culture as a CLI for teams that need repeatable sanitized databases for staging, analytics, and development. The batch package facts show Homebrew and Nix packaging, while upstream distributes release assets, Docker-oriented workflows, and documentation that emphasizes CI/CD integration.

How it is used

Greenmask is used around logical backup and restore flows: dump a database, apply transformations or subsets, store the result locally or in S3-compatible storage, and restore into another environment. The documentation emphasizes deterministic transformers, dynamic parameters, validation output, schema diff checks, and compatibility with PostgreSQL dump/restore routines.

The default configuration convention in the batch curation is config.yml, matching the project's example configuration style.

Why package nerds care

Greenmask matters to package users because it packages a messy operational workflow into one repeatable binary: masked dumps, synthetic data, subsetting, restore order, and storage backends. That makes it attractive for development environments where production-like data is useful but raw production data is unsafe.

For Homebrew-style packaging, it is also a representative modern Go CLI: single binary, release assets, Docker examples, and docs-first operational commands.

Timeline

  • 2024: v0.1.0 release notes marked the first production-ready version.
  • 2024: v0.2.0 added database subsetting, pgzip support, topological restore order, and transformer refactoring.
  • 2025: v1.0.0b1 release metadata appeared for the 1.0 beta line.
  • 2026: v0.2.x releases continued through v0.2.21 in the official GitHub release feed.

Related projects

  • PostgreSQL pg_dump and pg_restore are central compatibility references in the documentation.
  • Docker Compose, MinIO, and S3-compatible storage appear in the official examples and feature descriptions.
  • Transformer concepts such as random, hash, template, and CMD transformers form the project's internal extension surface.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for greenmask. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
config.yml

executables

Installed executables

CommandKindExposureNote
greenmaskcliglobal 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 version0.2.22
manager updated2026-07-01
local dataok
upstreamcurrent
latest detectedv0.2.22

https://github.com/GreenmaskIO/greenmask

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:greenmask
Version0.2.22
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/greenmask
Homepagehttps://www.greenmask.io/
Repositoryhttps://github.com/GreenmaskIO/greenmask
Upstream docshttps://docs.greenmask.io/
LicenseApache-2.0
Source archivehttps://github.com/GreenmaskIO/greenmask/archive/refs/tags/v0.2.22.tar.gz
Last updated2026-07-01T18:24:11Z
Pulseupdated
Build dependenciesgo
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 Namegreenmask
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.

Nix95%

greenmask

nix profile install nixpkgs#greenmask
  • normalized package name match
  • Matched by: Greenmask
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gr/greenmask/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment