Scan your whole stack
Latest version: v0.2.1
facedown was last scanned on 24 Nov 2026 at version 0.2.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.1 LATEST | 24 Nov 2026 | No rules fired |
Findings for v0.2.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.2.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
AI coding agents read your project files. If your .env holds passwords and
API keys, the AI sees them in plain text, and they end up in chat
transcripts, logs and sometimes in code.
facedown is a .env file the AI can use but never read. It sees
which secrets exist and what they are for, and it can run your code or call an
API with them. The real values go straight to your program or to the sites you
allowed, never to the AI.
You: /addKey GITHUB_TOKEN token for the GitHub API
→ a private window opens on your screen, you type the value there
Claude: Saved GITHUB_TOKEN.
You: list my GitHub repos
Claude: ▶ http_request Authorization: Bearer {{GITHUB_TOKEN}}
→ facedown fills in the real token, sends the request,
and hides the token in whatever comes back
Why "facedown"? Like a card played face down: it counts in the game, but nobody at the table sees what it is. The AI plays your secrets face down.
Status: v0.2 preview. Windows for now; Linux and macOS are planned. Needs Node 20 or newer, no other dependencies.
Secrets live in one file in your project, .env.facedown:
# facedown vault v1 id=Qm9iX2lk
# @desc token for the GitHub API
# @allow api.github.com
GITHUB_TOKEN=enc:v2:8kZ0…
# @desc Postgres password (local)
DB_PASSWORD=enc:v2:Lw91…
~/.facedown/keys/), and on Windows it
is locked to your Windows account.***GITHUB_TOKEN***, also when it was base64, hex or URL
encoded first.You need Node.js 20 or newer.
Claude Code (the MCP server plus five slash commands, in every project). Type this in Claude Code:
/plugin install facedown --marketplace necromancer124/facedown
On Claude Code older than 2.1.275, use two steps instead:
/plugin marketplace add necromancer124/facedown
/plugin install facedown@facedown
Then start a new session.
Command line:
npm install -g facedown
Or run it without installing: npx facedown help.
Renamed: this project was called blind-env for its first day. If you installed that, switch to
facedown. Old.aienvvaults and their keys keep working: facedown finds and reads them.
From source:
git clone https://github.com/necromancer124/facedown
cd facedown
npm link
| Command | What it does |
|---|---|
/addKey NAME what it is for |
Opens a password window. You type the value; Claude never sees it. |
/keys |
Lists names, notes and allowed sites. Never values. |
/allowSite NAME api.example.com |
Lets a key be sent to a site. You confirm in a window first. |
/removeSite NAME api.example.com |
Stops a key being sent to a site. |
/removeKey NAME |
Deletes a secret. You confirm in a window first. |
Everything else you just ask for in plain words ("use GITHUB_TOKEN to list my repos"), and Claude uses the facedown tools.
In the windows, Enter means Cancel: approving always takes a click.
facedown set GITHUB_TOKEN --desc "token for the GitHub API" --allow api.github.com
You type the value with hidden input. If there is no terminal to ask in, the password window opens instead.
facedown run -- node app.js
app.js reads process.env.GITHUB_TOKEN as usual. Your code can be in any
language: it is just an environment variable.
In your own terminal, leaving out --keys passes every key. Without a terminal
(which is how an AI agent runs commands) run asks for the keys by name, so a
program only ever gets the secrets it needs:
facedown run --keys GITHUB_TOKEN -- node app.js
--all-keys passes every key on purpose. Avoid it when an AI runs the command:
any program it starts would see all your secrets.
| Command | What it does |
|---|---|
facedown init |
Create a .env.facedown vault in this folder (set does it for you) |
facedown set NAME |
Add or replace a secret (--desc, --allow, --stdin) |
facedown list |
Names, notes and allowed sites (--json) |
facedown check |
Confirms each secret decrypts; shows length and a fingerprint |
facedown run --keys A,B -- cmd |
Run a command with those secrets as environment variables |
facedown allow NAME site… |
Set the allowed sites (adding one asks you first) |
facedown rm NAME |
Delete a secret (asks you first) |
facedown export FILE / import FILE |
Move a vault to another computer, with a passphrase |
facedown mcp |
Start the MCP server for AI agents |
Your code can log a secret like any other variable. The log shows which key it was instead of the value, and how it was encoded:
[debug] connecting with token ***GITHUB_TOKEN*** | as base64: ***GITHUB_TOKEN:base64***
facedown: note: hid the value of GITHUB_TOKEN (2x) in the output. Logs show the key name instead of the value.
--quiet drops the note line.--strict treats a printed secret as an error and fails the run with exit
code 97. Set FACEDOWN_STRICT=1 to make every run strict.facedown check shows a fingerprint that stays the same until the value
changes, so you can tell "still the old token" from "the new one" at a glance.
It is made with the vault key and the key name, so it cannot be used to guess
the value.
A key can only be sent (with http_request) to the sites on its list. A new
key has an empty list.
facedown allow GITHUB_TOKEN api.github.com
allow sets the whole list, so name every site you want.*.github.com covers every subdomain (not github.com itself).facedown allow NAME --clear removes all sites.set NAME --allow site sets the sites together with a new value, so no
window asks about them: a value already stored is never sent anywhere new
this way. When you type the new value in the password window, new sites are
marked NEW there..env.facedown by hand, that key stops working instead of being sent there.A vault only opens on the computer and Windows account that made it. To take your secrets along, export them with a passphrase you choose:
facedown export backup.facedown
On the new computer, in your project folder:
facedown import backup.facedown
import adds to the vault in the current folder, or makes a new one. If a
name already exists there, nothing is imported.facedown mcp is a standard MCP server, so any agent that speaks MCP can use
it (setup for Cursor, VS Code and Claude Desktop: docs/CLIENTS.md). Without the plugin, for Claude Code in your project folder:
claude mcp add facedown -- facedown mcp
The agent gets six tools:
| Tool | What it does |
|---|---|
list_keys |
Which vault file is in use, plus names, notes and allowed sites. Never values. |
add_key |
Opens a private window where you type the value. |
run_with_secrets |
Runs a command with the chosen keys as environment variables (in cmd.exe on Windows, so %NAME%). Output is cleaned. The command also gets the AI app's own environment variables, which facedown does not hide. |
http_request |
Sends a web request with {{KEY_NAME}} filled in. Only to allowed sites, HTTPS only, redirects not followed, response cleaned. |
allow_hosts |
Adds or removes allowed sites. Adding opens a confirmation window; nothing changes unless you click Allow. |
remove_key |
Deletes a secret. Opens a confirmation window; nothing is deleted unless you click Delete. |
If you open this repo itself in Claude Code, .mcp.json and
.claude/commands/ give you the server and the commands without installing
anything. Start the session in the repo folder: a session that starts
elsewhere does not load them until it moves into the repo.
It does protect against:
http_request.An allowed site is trusted with the key. If you allow api.github.com, the AI
could still send the token there in a way that stores it, for example inside a
new gist. Allow only the API a key is for, and keep run_with_secrets and
http_request approvals in Claude Code switched on for anything sensitive.
It does not protect against an AI that has a shell and is trying to steal a secret. An agent that can run any command as you can write a program that scrambles the secret before printing it (so the cleaner misses it), sends it to a server, unlocks the key file the same way facedown does, or even "click" the confirmation window with simulated key presses. Nothing running under your own account can fully stop that.
So think of facedown as a seat belt, not a vault door: it stops the common,
accidental ways secrets leak to an AI. The strongest setup is an agent that has
only the http_request tool and no shell. Then the allowed-sites list is a
real barrier.
Other limits:
test masked inside testing shows what it is), so shorter ones are
refused unless --allow-short is given. Only use that for things that
really are short, like a PIN: a short value is easy to spot in output, and
values under 4 characters are not hidden at all.
Key names are never masked, even when a value appears inside one.facedown export and facedown import.facedown set NAME in a terminal; those platforms are untested.Found a security problem? See SECURITY.md. Think you can get a secret out anyway? Try to break it.
People who found a real security problem in facedown and reported it privately. Thank you.
No one yet. Be the first.
The runner-up name was .env.broker, because it is the better env.
It was just a little too cheesy. (And before that, for one day, the project
was called blind-env.)
npm test
The tests run on every push on Windows with Node 20, 22 and 24. The full manual test, written as a prompt for an AI session, is in docs/TEST-PROMPT.md.
Once a day facedown asks npm whether there is a newer version, and says so in
one line after a command (and in list_keys, so your AI agent tells you). It
never updates anything by itself, and when you are offline it says nothing.
SECURITY.FACEDOWN_BLOCK_INSECURE=1 turns that warning into a hard stop: run,
export, run_with_secrets and http_request refuse until you update. It is
off by default on purpose: a hijacked npm account must not be able to stop
everyone, and facedown must keep working offline. If the check cannot reach
npm, facedown carries on.FACEDOWN_NO_UPDATE_CHECK=1 turns the check off (it is also off in CI). The
check sends nothing about you or your secrets: it is a plain download of
facedown's public package info.facedown uses semantic versioning. What stays stable from 1.0 on (the vault format, commands, flags, MCP tools and environment variables) is in docs/STABILITY.md; every change is in CHANGELOG.md.
login tool: fill a username and password into a browser formrun_with_secretsMIT, see LICENSE.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.