camouflage.nvim

Masks secrets in config files in Neovim while screen sharing

Image 1 of 2: A .env file in Neovim with every secret masked and weak values flagged

A Neovim plugin that masks API keys, passwords and tokens in .env, JSON, YAML, TOML, Terraform and Dockerfiles as a file opens, without changing the file, and keeps them masked in picker previews, grep rows, quickfix, diffs and :terminal output. A presentation mode refuses reveals.

Trade-offs

  • Masks are drawn over the text and the file is never changed, so nothing on disk differs, at the cost of covering every place the text can surface: pickers, quickfix, diffs and terminals.
  • It loads on BufReadPre and BufNewFile, so no buffer is ever drawn before it is masked, and a typed, put or pasted value is covered before Neovim draws it.

Q&A3

No. It runs only on request and uses k-anonymity: only the first 5 characters of the password's hash leave the machine.

Reviews

Loading reviews

    More in Neovim

    See all 5 →
    • org.nvimEmacs Org mode reimplemented for Neovim in pure Lua
    • godotdev.nvimNeovim as an external editor for Godot 4: LSP, DAP, docs and scene trees
    • sqmeow.nvimDatabase client inside Neovim for SQL, NoSQL and analytical stores
    • differ.nvimLocal diffs, history, staging, PR review and conflicts in one Neovim UI
    • ZonvieNative Neovim GUI built with Zig for macOS and Windows

    More in Security

    See all 45 →
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • OVLTSelf-hosted OIDC server in one Rust binary, multi-tenant through Postgres RLS
    • PandaWardLocal application security assessment that reports what it couldn't decide
    • KotauthMulti-tenant OAuth2 and OIDC identity server in Kotlin, self-hosted in Docker
    • SnitchPer-app network monitor and outbound firewall for the desktop
    • ConduitSSH, Mosh and SFTP client for phones with no account and no cloud sync

    More in Lua

    See all 7 →
    • ttymapScriptable globe for the terminal, in Braille, with a Lua plugin runtime
    • Crap CMSHeadless CMS in one Rust binary, with Lua hooks and a gRPC API
    • Panels+A KOReader plugin that reads manga and comics panel by panel, with no pre-scan