Initialize Vault
Binds current directory to its own encrypted key space.
MayFly keeps your API keys in an encrypted local vault. When you start your app (mf npm run dev), MayFly injects them straight into memory and wipes them when you finish.
Zero plaintext files on your hard drive, zero cloud dependencies, and zero third-party packages.
mayfly and mf.Initialize your folder, save your secrets, run your app, and verify the tamper-proof security log.
Binds current directory to its own encrypted key space.
Encrypts your variables with AES-256-GCM without disk writes.
Spawns your app with secrets injected directly into volatile RAM.
Mathematically validates the cryptographic SHA-256 hash log.
How modern engineering teams and independent developers use MayFly to secure their environments.
Run Next.js, Vite, Django, Express, or FastAPI with secrets injected strictly into memory. When the dev server shuts down, volatile RAM is zeroed.
Protect against malicious npm postinstall or Python setup scripts that scan disks for .env files and exfiltrate API keys before you even launch your app.
Pass credentials to ephemeral CI test runners and containerized builds without burning plaintext API tokens into disk caches or image layers.
Seamlessly switch between multiple microservices or client repositories. Secrets automatically bind to the folder inode without manual profile switching.
Scan your entire codebase, configuration files, and legacy projects for hardcoded tokens, OpenAI keys, or orphaned .env files in milliseconds.
No cloud accounts, no API rate limits, and zero internet requirement. Work securely on airplanes, remote locations, and strict air-gapped networks.
Third-party install scripts execute with local user permissions during build and install steps.
Traditional Development
npm postinstall scripts scan drives for credentials before your app runs.git add . risks exposing production secrets to remote repositories.In-Memory Secret Injection
Every subsystem was implemented from first principles using standard library primitives to eliminate upstream supply-chain risk.
Instead of saving API keys in readable plaintext files on your SSD, MayFly loads them directly into your app’s memory and zeroes memory buffers upon exit.
Hand-rolled the official RFC 8018 password algorithm with 600,000 security rounds so your master password cannot be brute-forced by GPUs.
Built a lightweight 2D double-buffered terminal interface from scratch using standard operating system calls, without heavy UI framework packages.
Built-in 16-color ANSI sequence builder with bold, dim, and underline modes that automatically respects accessibility and NO_COLOR rules.
Uses native terminal clipboard escape codes (supported in iTerm2, Alacritty, Kitty, Windows Terminal, VS Code) to copy secrets safely without native plugins.
Built-in code crawler that scans your project for accidentally hardcoded API keys or unencrypted .env files, respecting your .mayflyignore file.
Build MayFly twice on any machine using make reproducible to independently verify byte-identical SHA-256 cryptographic hashes.
-trimpath -ldflags="-s -w -buildid="Engineered for robust local credential management with zero runtime dependencies.
Unencrypted secrets never touch storage. Decrypted credentials exist exclusively in ephemeral process memory while your app runs.
Authenticated encryption with 600,000 security rounds ensures your vault remains protected against offline GPU brute-force attempts.
Secrets are automatically bound to the physical storage device and directory inode, preventing accidental project cross-contamination.
Spawns your processes directly via operating system primitives (os/exec) without subshell wrappers, keeping your terminal history clean.
Every secret read, write, or execution is signed into a cryptographic SHA-256 hash chain so unauthorized tampering is immediately detected.
No cloud accounts, no network daemons, and zero third-party packages. Operates completely locally on your workstation.
How MayFly compares to traditional plaintext .env files and cloud secret managers.
MayFly contains zero third-party packages in its dependency manifest. Run go list -m all on the repository to verify that only standard library packages are used.