IronDome 4.0.0 Source

NewVersion 4.0.0on PyPI

Give your AI agent one secret, once. Never the vault.

Version 4: the key is held by the security chip.

IronDome is a command-line vault for passwords, API keys and one-time codes. The key that opens it needs a secret held by your Mac's Secure Enclave or a TPM 2.0 on Linux, so without its recovery key a copy of the vault opens nowhere else. An agent gets a grant for exactly the secret it needs, one use by default: the secret reaches the command it runs, not the transcript. No account, no sync, no network code, one direct dependency.

5/6 limits version 3 published, closed in version 4 See what changed
  • 6,110 tests in the suite
  • 23 claims, each held by a test
  • 17 re-checked on your machine by irondome verify
  • 0 network calls in the package
  • 1 direct dependency

The film

IronDome in eight minutes

The whole idea from start to finish: why a plain .env file is a problem, what binds the vault to your machine, how an agent gets one secret once, and what IronDome does not do.

irondome 4.0.0 — the film 7:36
The narration was generated with NotebookLM from IronDome's own documentation and checked against it sentence by sentence; what did not hold was cut. Most of the pictures were drawn for this page, the others are NotebookLM's, each one checked the same way. Where the film and this page differ, the page is right.

What changed in 4.0

Five limits, closed

Version 3 listed six things it could not do. Version 4 was built to make five of them false: four from this page and one from its PyPI page. The last one, no independent audit, still stands. Each card names the claims that now hold, and Verify counts their tests.

L1

Listed on the 3.x website

Version 3: Key protection is software-only

3.x: key protection was software-only (no TPM, no Secure Enclave).

Version 4: The key is held by the security chip

The suite copies an entire vault to "another machine", supplies the correct master password, and watches it fail.

A complete copy of the vault directory where result with the correct master passwordthis machineopens with the correct master passwordanother machinedoes not open, nothing to test guesses against with the recovery keyany machineopens: exempt by design

Still true: without a usable security chip, or without the Xcode Command Line Tools on a Mac or tpm2-tools on Linux, IronDome falls back to a file-based device key, and irondome status calls it "software", never "hardware".

L2

Listed on the 3.x website

Version 3: The biometric check is not cryptographic

3.x: the biometric check was an OS gate in front of a readable key, not cryptographic.

Version 4: Touch ID is enforced by the Secure Enclave

There is no stored key for a process to read instead. The suite asks such a key to work silently, on real hardware, and the operation fails: "authentication is required to use this key".

Still true: macOS only. IronDome offers no biometric unlock on Linux. Adding or removing a fingerprint invalidates the key; open the vault with the master password or the recovery key, then enrol again.

L3

Listed on the 3.x website

Version 3: nuke cannot defeat an SSD controller

3.x: nuke could not defeat an SSD controller (overwrite, fsync, unlink).

Version 4: nuke destroys the key, not the blocks

nuke no longer depends on overwriting. The suite keeps a bit-perfect copy of the vault directory, runs nuke, restores the copy, and the correct password fails.

Still true: on a Mac the device key is a sealed file that only that Mac's Secure Enclave can use: a clone, a disk image or a snapshot that holds its folder as well as the vault opens the vault on that Mac again, with your password or, under Touch ID, your finger. IronDome marks the folder as left out of Time Machine, and nuke names it. A by-hand trial on a Mac found this; the tests had restored the vault directory alone.

L4

Listed on the 3.x website

Version 3: The key is not zeroed in memory

3.x: the key was never zeroed in memory (immutable bytes inside a Fernet object).

Version 4: Keys stay in locked memory, then are wiped

L5

Listed on the 3.x PyPI page

Version 3: The cipher is AES-128

3.x: the cipher was AES-128-CBC (Fernet splits its 32-byte key into a 16-byte AES key and a 16-byte HMAC key).

Version 4: AES-256-GCM, one key per entry

Every entry's secret is its own AES-256-GCM record under its own key, derived from a random 256-bit vault key; names, usernames and URLs are encrypted too.

Still true: nobody outside the project has audited how IronDome uses these primitives.

Audit

Listed on the 3.x website

No independent third-party audit

Still stands. Limit 01

How it works

Four commands to start, three for your agent

Most secrets live in .env files, where any tool and any AI agent can read them, repeat them and ship them off in a transcript. This is a sequence, so it is numbered.

For you

  1. Step 1: Install

    pipx install IronDome
    or with uv
    uv tool install IronDome

    Python 3.9.2 to 3.14, on macOS with Apple silicon and on Linux; Intel Macs are untested. Python 3.9 and 3.10 no longer get security fixes from python.org: IronDome runs on them, and irondome doctor says so. On a Mac the Secure Enclave helper, about 250 lines of Swift, is compiled on your machine with the Xcode Command Line Tools the first time it is needed; on Linux the TPM is reached through tpm2-tools. Nothing is downloaded. Nothing to configure, nothing to register, and irondome nuke destroys everything it keeps on this machine.

  2. Step 2: Create the vault

    irondome init
    Coming from 3.x
    pipx upgrade IronDome && irondome migrate

    Choose how it opens: master password, Touch ID, or both. IronDome reports which chip will hold the device key, and prints a recovery key once. Coming from 3.x, upgrade the program before you migrate: until it is version 4, irondome opens the 3.x screen whatever is typed after it.

  3. Step 3: More than one vault Optional

    irondome bunker create bravo

    One bunker per person or role on the same machine.

  4. Step 4: Use it

    irondome add github --generate

    Add, get, generate, copy, one-time codes. Every command takes --json. Nothing prompts unless you are at a terminal.

For your agent

  1. your vault
  2. an aliaswhat an agent sees
  3. a grantthat value, fifteen minutes, one use
  4. the command's environment
  5. its outputmasked[irondome:GITHUB_TOKEN]
  1. Step 5: Name it

    irondome alias set GITHUB_TOKEN github

    An alias is what an agent sees instead of a secret.

  2. Step 6: Grant it

    irondome grant create GITHUB_TOKEN --ttl 15m

    A token for exactly that value, for fifteen minutes and one use.

  3. Step 7: Run with it

    irondome run --env GITHUB_TOKEN -- gh pr create

    The secret is in the command's environment and masked in its output. Then the grant is spent.

The command line, unfiltered

A whole session, start to self-destruct

Not a mock-up. IronDome 4.0.0 was run in a throwaway home directory and driven through these scenes; what replays below is that recording, with only the temporary paths rewritten to ~. It was recorded with colour off, the plain lines a script reads; at your own terminal the same messages are wrapped to the window and carry coloured marks.

operator@localhost — irondome 4.0.0 REC
# 01 setup
# A vault is created; its recovery key is shown once and stored nowhere.

$ irondome init
Compiling the Secure Enclave helper (once, and again after an upgrade that changes it); this can take a minute...
Creating the vault of bunker alpha. Device key: macos-se, hardware -- Secure Enclave, Touch ID available.
New master password: 
Repeat it: 
ok  created the vault of bunker alpha at ~/.irondome/bunkers/alpha/vault.irondome
It opens with: master password + device key.
Password stretching: Argon2id, 256 MiB, 3 passes, 4 lanes.

Recovery key for bunker alpha. It is shown this once and stored nowhere:

VYTT-I4AP-TWVW-XRPJ-4Z76-7UQN-E2M5-XA6E

warning  the recovery key opens a copy of this vault on any machine, without this device and without the master password. Keep it offline (on paper, not in a file or a photo).
Press Enter once you have written it down. 
Next: irondome add NAME --generate stores a new login with a generated password.

$ irondome status
bunker      alpha
vault       ~/.irondome/bunkers/alpha/vault.irondome
format      irondome-vault 4, generation 1, created 2026-11-26 02:14
opens with  master password + device key
device key  macos-se (hardware)
keyslot     master password + device key (macos-se) -- device key present; Argon2id, 256 MiB, 3 passes, 4 lanes
keyslot     recovery key (not bound to this device)
sessions    0 active
grants      0 active
snapshots   0

# 02 everyday
# Two entries stored and listed by name, never by value. Then a six-word passphrase.

$ irondome add github --username king --url https://github.com --generate --alias GITHUB_TOKEN
To add github to bunker alpha:
Master password: 
Generated a 20-character password (123 bits).
ok  added github to bunker alpha, with the alias GITHUB_TOKEN

$ irondome add stripe --kind secret --value-stdin < stripe.key
To add stripe to bunker alpha:
Master password: 
ok  added stripe to bunker alpha

$ irondome ls
To list the entries from bunker alpha:
Master password: 
NAME    USERNAME  URL                 TAGS  OTP  AGENT  MODIFIED
github  king      https://github.com             deny   2026-11-26 02:14
stripe                                           deny   2026-11-26 02:14

$ irondome gen --words 6
78 bits of entropy (strong)
chatter-revenue-machine-propeller-cognition-thirteen

# 03 bunkers
# A second bunker with its own password and recovery key, then both listed.

$ irondome bunker create bravo
Creating the vault of bunker bravo. Device key: macos-se, hardware -- Secure Enclave, Touch ID available.
New master password: 
Repeat it: 
ok  created the vault of bunker bravo at ~/.irondome/bunkers/bravo/vault.irondome
It opens with: master password + device key.
Password stretching: Argon2id, 256 MiB, 3 passes, 4 lanes.

Recovery key for bunker bravo. It is shown this once and stored nowhere:

QSHF-OGMC-2GKJ-TGDA-4L42-OWIS-6ZWS-2J7N

warning  the recovery key opens a copy of this vault on any machine, without this device and without the master password. Keep it offline (on paper, not in a file or a photo).
Press Enter once you have written it down. 
Next: irondome add NAME --generate stores a new login with a generated password.
Work on it with: irondome --bunker bravo COMMAND (or IRONDOME_BUNKER=bravo). Make it the default with: irondome bunker use bravo

$ irondome bunker ls
NAME   VAULT  DEVICE KEY  HARDWARE  SESSIONS  GRANTS  NOTE
alpha  yes    macos-se    yes       0         0       current, default
bravo  yes    macos-se    yes       0         0

# 04 agent
# A grant for one use. The output shows a mask, not the secret; the second run is refused.

$ export IRONDOME_GRANT="$(irondome grant create GITHUB_TOKEN --ttl 15m)"
To create a grant for GITHUB_TOKEN:
Master password: 
ok  grant bc6667e17e65 created in bunker alpha
  covers   GITHUB_TOKEN (github/password)
  mode     use: the values can only be injected into a command by irondome run
  expires  2026-11-26 02:29, in 15m
  uses     1
  id       bc6667e17e65d4ca124bfb9427405519
The token is a bearer secret: whoever holds it can use the grant. Give it to one agent, keep it out of files and chats, and revoke it with: irondome grant revoke bc6667e17e65

$ irondome run --env GITHUB_TOKEN -- sh -c 'echo "the token is $GITHUB_TOKEN"'
the token is [irondome:GITHUB_TOKEN]

$ irondome run --env GITHUB_TOKEN -- sh -c 'echo "the token is $GITHUB_TOKEN"'
error  that grant token opens nothing here: the grant was used up, expired or revoked, or it was made on another machine. Its owner can make a new one with: irondome grant create

$ unset IRONDOME_GRANT

# 05 one-time codes
# A TOTP seed added to an existing entry, then its current code.

$ irondome edit github --totp-stdin < totp.txt
To change github in bunker alpha:
Master password: 
ok  updated github in bunker alpha: totp

$ irondome otp github
To show a one-time code for github from bunker alpha:
Master password: 
687607
valid for 25 more seconds

# 06 audit
# What was used and by whom, then a check of the log's hash chain.

$ irondome audit
To read your IronDome audit log:
Master password: 
TIME                 WHO                 ACTION        TARGET        DETAIL
2026-11-26 02:14:00  owner               vault.create  alpha         mode=password backend=macos-se recovery=yes
2026-11-26 02:14:01  owner               entry.add     github        generated, alias GITHUB_TOKEN
2026-11-26 02:14:02  owner               entry.add     stripe
2026-11-26 02:14:04  owner               grant.create  bc6667e17e65  mode=use uses=1 ttl=900s references: GITHUB_TOKEN
2026-11-26 02:14:04  grant bc6667e17e65  grant.use     bc6667e17e65  uses left: 0
2026-11-26 02:14:04  grant bc6667e17e65  use           GITHUB_TOKEN  sh -c 'echo "the token is $GITHUB_TOKEN"'
2026-11-26 02:14:04  owner               entry.edit    github        changed: totp

$ irondome audit --verify
To read your IronDome audit log:
Master password: 
TIME                 WHO                 ACTION        TARGET        DETAIL
2026-11-26 02:14:00  owner               vault.create  alpha         mode=password backend=macos-se recovery=yes
2026-11-26 02:14:01  owner               entry.add     github        generated, alias GITHUB_TOKEN
2026-11-26 02:14:02  owner               entry.add     stripe
2026-11-26 02:14:04  owner               grant.create  bc6667e17e65  mode=use uses=1 ttl=900s references: GITHUB_TOKEN
2026-11-26 02:14:04  grant bc6667e17e65  grant.use     bc6667e17e65  uses left: 0
2026-11-26 02:14:04  grant bc6667e17e65  use           GITHUB_TOKEN  sh -c 'echo "the token is $GITHUB_TOKEN"'
2026-11-26 02:14:04  owner               entry.edit    github        changed: totp

verified: all 7 records are authentic and in order
Removing the newest records, or the whole log, is the one change verification cannot detect.

# 07 self-destruct
# nuke destroys every bunker's device key first, then the files.

$ irondome nuke
This destroys everything IronDome keeps on this machine:
  bunkers              alpha, bravo
  device keys          3 (alpha: macos-se (security chip); alpha: macos-se (security chip); bravo: macos-se (security chip))
  sessions and grants  0
  files                19, under ~/.irondome and ~/Library/Application Support/IronDome/device
  also                 the default-bunker setting and the compiled Secure Enclave helper, if any
warning  a recovery key still opens any copy of the vault files of bunkers alpha and bravo that survives elsewhere (a backup, a synced folder, a copy on another disk). nuke cannot reach recovery keys on paper: destroy them, and those copies, yourself.
This cannot be undone.
Type DESTROY to continue: DESTROY
bunkers destroyed      alpha, bravo
device keys destroyed  3 (all held by a security chip)
files deleted          19
ok  Destroyed every bunker on this machine. Their device keys are gone, so no copy of those vault files opens with a master password any more.
warning  on this machine the device keys were files in ~/Library/Application Support/IronDome/device. A backup, clone or disk snapshot made before now that holds that folder together with the vault can still open the vault on this machine, with the master password or with a token that was valid then. IronDome marked that folder as left out of Time Machine when it made it; nothing else is kept from copying it. If such a copy exists, destroy it as well.
warning  a recovery key still opens any copy of the vault files of bunkers alpha and bravo that survives elsewhere (a backup, a synced folder, a copy on another disk). nuke cannot reach recovery keys on paper: destroy them, and those copies, yourself.

$ irondome status
bunker     alpha
vault      none yet (it would be ~/.irondome/bunkers/alpha/vault.irondome)
sessions   0 active
grants     0 active
snapshots  0

What it does

Five layers, inside out

Every capability in IronDome sits at one of five distances from your secrets, numbered from the file outwards. An attacker meets them in the opposite order, from the perimeter in.

Verification

Do not take this page's word for it

Everything this page says about security is one of 23 promises below. Each has a name, the tests that hold it, and the place where it stops. One command checks most of them again on your own machine; the same list ships inside the package.

irondome verify
Every claim and its tests

irondome verify checks it only the test suite checks it tests that hold it, on one scale to 35

The tests gate the release

Counted by the suite itself, directory by directory. Tests that need a TPM, a Secure Enclave or a finger run only where there is one. The page states these numbers; it does not decide them.

tests/unit
5,255
tests/e2e
522
tests/claims
259
tests/release
74

01/05

AT REST

The vault on disk

What survives a reboot, and what it costs to read it.

  1. 01 Argon2id and AES-256-GCM, from one widely used library 20 tests , irondome verify checks it

    macOS · Linux modern-crypto

    Master passwords are stretched with Argon2id (by default 256 MiB, 3 passes and 4 lanes, and 64 MiB, RFC 9106's low-memory choice, on a machine with less than 3 GiB of RAM; never below the OWASP minimum), applied to a 32-byte HKDF-SHA256 prehash of the password and never to the password itself, keys are derived with HKDF-SHA256 and data is encrypted with AES-256-GCM using random 96-bit nonces. IronDome implements no primitive itself; all of them come from pyca/cryptography and are checked against published test vectors.

    In practice

    Reading one password decrypts one record.

    The cost is stored per keyslot, so editing it in the file only makes the slot refuse to open (tamper-evident).

    entry key = HKDF(vault key, "irondome/v4/entry\0" + id, salt = vault id)
    record = AES-256-GCM(entry key, nonce, padded secret, aad)
    
    Argon2id(HKDF(password), memory=256 MiB, iterations=3, lanes=4)
    

    Where it stops

    No independent party has audited IronDome's use of these primitives.

    The rest of the boundary

    IRONDOME_KDF_MEMORY_MIB in the environment, or --kdf-memory-mib when a vault is made, replaces the default memory cost with any value from 19 MiB to 4 GiB; a cost the machine has no memory for is refused with an error when a vault is made or opened. init, bunker create and status show the cost and say when it is below the default; export warns.

  2. 02 Names, usernames, URLs and tags are encrypted, not just passwords 7 tests , irondome verify checks it

    macOS · Linux everything-encrypted

    No entry name, username, URL, tag, alias, note or password appears in the vault file, its snapshots or the audit log. Record sizes are padded so they do not reveal password lengths.

    In practice

    Entry names, usernames, URLs, tags and aliases live in an encrypted index.

    $ grep -c github ~/.irondome/bunkers/alpha/vault.irondome
    0
    

    Where it stops

    Visible to anyone who can read the file: how many entries there are and the padded size of each, when the vault was created and how many times it has been written, and how it opens (the kind, label, backend and Argon2id cost of each keyslot).

    The rest of the boundary

    The snapshots show which records changed with each write.

    Beside the vault, in clear: each session and grant file in caps/ shows which of the two it is, when it was made, when it expires, how many uses are left, its label and the device key it is bound to, and irondome grant ls prints these without the master password; each line of audit.log shows a sequence number, a time and which key wrote it (the vault's, or a grant's id).

    A label is yours to choose: put nothing in it that you would not show.

  3. 03 Altered, swapped or rolled-back records are rejected 10 tests , irondome verify checks it

    macOS · Linux tamper-evident

    Every record is authenticated with AES-256-GCM and bound to its vault, its entry and its revision. Changing a byte, moving a record to another entry, or restoring an older version of one record makes the vault refuse to read it.

    In practice

    Move a record, replay an old one or flip a byte, and the vault refuses to read it.

    aad = "irondome/v4/entry\0" || vault id || entry id || 0 || revision
    

    Where it stops

    Replacing the whole file with an older copy of the whole file is not detected.

  4. 04 Every file is owner-only and every write is atomic 9 tests , irondome verify checks it

    macOS · Linux owner-only-files

    Every file IronDome creates is mode 0600 and every directory 0700 regardless of the process umask. The vault is replaced atomically: an interrupted write leaves the previous vault intact, and a concurrent writer is refused rather than overwritten.

    In practice

    0600 files, owner only 0700 directories, owner only

    Every change is written to a temporary file, synced and renamed over the vault; the previous file is kept as a snapshot.

    Changing the password, the keyslots or the recovery key deletes the snapshots, because they would still open the old way.

    ~/.irondome/bunkers/alpha/
      vault.irondome  backups/  caps/  audit.log
    

    Where it stops

    These are POSIX permissions: the files belong to your user account, so every program running as you, and root, can read them.

  5. 05 A 3.x vault migrates completely, and the old vault is left alone 9 tests , only the test suite checks it

    macOS · Linux migration

    irondome migrate reads a 3.x vault in any of its three modes, writes every entry into a v4 vault, compares each migrated value with the original and only then reports success. The 3.x directory is not modified unless you ask for it to be destroyed after a clean verification.

    Where it stops

    A 3.x vault without a master password opens with the key 3.x kept in the OS keychain.

    The rest of the boundary

    IronDome reads it with /usr/bin/security on macOS and secret-tool on Linux, and with nothing else: on Windows, or on a Linux without secret-tool, you give the key yourself (irondome migrate --legacy-key). A key the keychain hands over proves nothing about who is asking, so such a vault is migrated at a terminal, not with --password-stdin.

    Vaults written before the 3.x format (1.x, and the 2025 script's) are read as they are, without opening them in 3.2.2 first.

02/05

AT THE DOOR

Getting in

A password alone is not enough. That is the point.

Each way in

master password prehashHKDF-SHA256 Argon2id256 MiB device secretSecure Enclave or TPM 2.0
Touch ID Secure Enclave keya currently enrolled finger
recovery key160 bits, shown once

One vault key

keyslotone per way in vault key entry keyHKDF, one per entry recordAES-256-GCM
The vault key is wrapped once per way in: master password, Touch ID, recovery key. Changing a password rewrites one slot and no records.
  1. 06 A copy of the vault is useless without the machine 12 tests , irondome verify checks it

    macOS · Linux device-bound

    Every keyslot opened by a master password or a fingerprint also needs a device secret that is not in the vault file. A complete copy of the vault directory, together with the correct master password, does not open on another machine and gives an attacker nothing to test password guesses against.

    Where it stops

    The recovery key is exempt by design: it exists to open the vault without the device. With the file-based backend the device secret is a file in a separate directory: it protects copies of the vault, not a machine that malware already controls.

  2. 07 On an Apple-silicon Mac or Linux with a TPM 2.0, the device secret is held by the security chip 9 tests , irondome verify checks it

    macOS · Linux key-in-hardware

    macOS on Apple silicon: the device secret is the result of a key agreement with a P-256 private key that is generated inside the Secure Enclave and never leaves it; a key blob from any other Secure Enclave is rejected. Linux: the device secret is stored in a TPM 2.0 NV index and appears nowhere on disk.

    In practice

    1. 1 Secure Enclave macOS
    2. 2 TPM 2.0 Linux
    3. 3 file fallback

    The device secret is a key-agreement result only that chip can compute, against a random curve point whose discrete log nobody knows.

    A 32-byte value in a TPM NV index, released only against a value derived from your password.

    SecureEnclave.P256.KeyAgreement.PrivateKey(accessControl:)
    
    tpm2_nvdefine -a "authread|authwrite" …
    

    Where it stops

    Needs the Secure Enclave of an Apple-silicon Mac, or a TPM 2.0 the user may access. Intel Macs, T2 chip or not, are untested and not supported: cryptography publishes no macOS wheel for them, so installing there builds it from source, which needs Rust and OpenSSL. Without a chip, IronDome uses the file-based backend and says so in irondome status. Windows has no hardware backend yet.

  3. 08 Touch ID is enforced by the Secure Enclave, not by IronDome 12 tests , irondome verify checks it

    macOS biometric-enforced-by-chip

    A keyslot under the biometry policy uses a Secure Enclave key created with the biometryCurrentSet access control. The chip refuses the key operation until its sensor reports a match for a currently enrolled finger. Asked to operate without user interaction, the key produces no secret: the operation fails with 'authentication is required to use this key'.

    In practice

    [.privateKeyUsage, .biometryCurrentSet]
    # without a finger: authentication is required to use this key
    

    Where it stops

    macOS only. The automated suite proves the refusal; the acceptance needs a finger and is checked with irondome verify --touch. Adding or removing a fingerprint invalidates the key (use the master password or recovery key, then enrol again). The prompt names the helper program, not the caller.

  4. 09 On Linux the TPM checks the password and rate-limits guesses 9 tests , only the test suite checks it

    Linux tpm-rate-limit

    The TPM verifies a value derived from the master password before releasing the device secret, with dictionary-attack protection enabled on the NV index: a wrong password is refused by the chip, and repeated failures put the TPM into lockout.

    Where it stops

    The lockout is the TPM's global dictionary-attack counter; its thresholds are set by the machine's TPM configuration, not by IronDome.

    The rest of the boundary

    The counter does not know who is guessing: any program running as you, a process that holds only a grant included, can use up the allowance and lock the owner out until the TPM forgives the failures. A TPM in lockout takes no new keyslot either; irondome recovery use then names the way in with a file-based device key.

  5. 10 The recovery key opens the vault without the device 20 tests , irondome verify checks it

    macOS · Linux recovery

    A 160-bit recovery key, shown once at setup and stored nowhere, opens a copy of the vault on any machine: irondome recovery use asks for it and gives the vault a new master password bound to that machine. A lost laptop, a dead chip, a changed fingerprint or a forgotten master password is not the end of your data.

    In practice

    It unwraps the vault key by itself, so a dead laptop is not a dead vault: irondome recovery use opens a copy of the vault with it on any machine and sets a new master password there.

    XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
    

    Where it stops

    irondome recovery use is the one command that takes the key; it replaces every keyslot that needed the old device key or the old password, Touch ID keyslots included, and leaves the recovery key as it was.

    The rest of the boundary

    An old device key that is on the machine it runs on is destroyed, as passwd does, so another copy of the vault on that machine that still used it then opens only with the recovery key; one that is elsewhere, or cannot be reached, is left alone, and where it still exists the old master password still opens old copies of the vault file.

    This is the same property that lets a recovery key outlive nuke. Keep it offline, or create the vault with --no-recovery.

    irondome recovery new and irondome recovery remove re-key the vault, so the old key opens neither the vault as it is now nor anything stored in it later; a copy of the vault file made before then still opens with the old key and shows what it held then.

    On a machine whose TPM is in lockout, irondome recovery use cannot make a keyslot on the chip and says how to make a file-based one instead. irondome recovery use ends sessions and deletes snapshots; it does not revoke grants: one whose device key is still on the machine works until it expires (irondome grant revoke --all, or irondome rekey).

  6. 11 Several bunkers on one machine, each sealed from the others 9 tests , irondome verify checks it

    macOS · Linux bunkers-isolated

    Every bunker has its own vault key, master password, device secret, recovery key, sessions, grants and audit log. Opening one bunker, or holding a session or grant for it, gives no access to any other, and irondome bunker rm destroys one bunker's device secret without touching the rest.

    In practice

    An agent's grant finds its own bunker; it never has to name one.

    $ irondome bunker ls
    NAME   VAULT  DEVICE KEY  HARDWARE  SESSIONS  GRANTS  NOTE
    alpha  yes    macos-se    yes       0         0       current, default
    bravo  yes    macos-se    yes       0         0
    

    Where it stops

    Bunkers separate vaults, not operating-system accounts: every bunker belongs to the same user account, so malware running as that user is in the same position against each of them.

03/05

IN USE

While the vault is open

The window where a secret is in the clear is the window that matters.

  1. 12 Key material is wiped from memory 35 tests , irondome verify checks it

    macOS · Linux keys-wiped

    IronDome keeps its copies of the master password, the prehash it derives from it, the Argon2id output, the device secret, the key-encryption key, the vault key and every subkey only in memory outside the Python heap, locked into RAM where the system allows it, and overwrites them when the vault is locked.

    Argon2id is never given the master password: IronDome first derives 32 bytes from it with HKDF-SHA256, the prehash, and Argon2id stretches those. Argon2id does not run in IronDome's own process: a child process made for that one derivation is sent the prehash through a pipe, sends the key back and exits, and the key is read straight into IronDome's buffer.

    HKDF writes its output straight into IronDome's buffers and is run a second time with an all-zero key, so that what the library leaves behind of the first run is overwritten by the second.

    After a full session, a scan of the process's entire address space finds no copy of any of them; right after the first derivation a process makes, a search finds no part of an ASCII master password of up to 4,000 bytes.

    In practice

    kdf.derive_into(password, locked_buffer)
    cipher.decrypt_into(nonce, wrapped, aad, locked_buffer)
    

    Where it stops

    pyca/cryptography and the OpenSSL it bundles copy what Argon2id is given into memory they free without overwriting.

    The rest of the boundary

    Argon2id is given the prehash, so the copy is of the prehash. By itself the prehash opens nothing but this one keyslot: with the vault file and the device it opens the vault as the password would, and for a portable backup written by irondome export, whose keyslot has no device secret, the backup file alone is enough.

    Whoever reads it and knows the keyslot's salt, which is in the vault file, can also test guesses of the master password against it at the speed of SHA-256, with no device and no TPM counting wrong guesses; a password found that way opens whatever that password protects.

    IronDome cannot prevent that copy and does not write to the library's memory itself; it has Argon2id run in a child process, so the copy is made in memory that ends with the child, a moment after the key is sent back.

    For as long as the derivation takes, the child's memory holds the prehash and the key outside locked pages, and the key crosses a pipe on its way back. Where no child can be made, Argon2id runs in IronDome's own process: when another thread is running in it, when the system refuses to fork, and where there is no fork.

    None of IronDome's own commands stretches a password with a second thread running. In that case IronDome runs Argon2id a second time on zeros, and the library, asking for blocks of the same sizes, may be handed the ones it just freed and overwrite the copy.

    That is the allocator's choice, not a guarantee: with glibc the tests found no copy left; macOS's allocator, where it does not zero what it frees (macOS 15 on GitHub's machines, or any macOS with MallocZeroOnFree=0), left the copy of the prehash in most runs, and a copy that is left lasts until that memory is reused.

    The master password itself is given only to HKDF, which reads it a block at a time. For an ASCII password of up to 4,000 bytes the tests find no copy of it afterwards, whole or in part.

    They search for it in pieces: 16 bytes over its last 512, 32 or 64 before that, so a copy shorter than two pieces can be missed; a review before release searched for any 8 bytes of it, through init, unlocking, a wrong password and export, and found none.

    The tests' control gives Argon2id the password in the probe's own process, as IronDome did before both things were changed, and the same search then finds the end of a long password on Linux and, in most runs, all of it on macOS with zeroing off. The control is part of the test suite, not of irondome verify.

    That HKDF leaves no copy of its input is how this version of the library works, measured on Linux with glibc and on macOS, both on arm64; IronDome does not control it. irondome migrate has to give the password of a 3.x vault to that format's own PBKDF2; the review found no copy left there on Linux.

    HKDF leaves its working keys behind, the intermediate key it extracts and the key it derives, on the C stack and in memory it frees; IronDome cannot wipe those either, and overwrites them by deriving again from zeros.

    That rests on the library taking the same path through its code both times, which the tests check on every supported Python and IronDome does not control.

    A non-ASCII master password is normalised with Python's unicodedata before any of this, and unicodedata frees its own working copies of the text, as 4-byte code points, without overwriting them: the review found three copies of nearly all of a 3,600-byte one on Linux with Python 3.13, and none with 3.9; the two strings IronDome makes for it are zeroed in place on CPython.

    Decrypted entries are ordinary Python strings for as long as a command runs. Session and grant tokens are bearer secrets that live in your shell's environment by design. The recovery key is text you are shown once and may type back: as text it is an ordinary Python string, not locked memory, for as long as a command holds it.

    Locking the pages is best effort: where the system refuses it (a low RLIMIT_MEMLOCK, for one), the keys are still kept outside the Python heap and overwritten, but could be written to swap, and irondome doctor warns. A process with debugger rights over a running IronDome can read anything.

  2. 13 No core dumps, and on Linux no debugger from your other programs 6 tests , only the test suite checks it

    macOS · Linux process-hardened

    IronDome turns off core dumps for itself, and on Linux also marks itself non-dumpable, which stops other processes of the same user from attaching a debugger or reading its memory.

    In practice

    RLIMIT_CORE = 0
    prctl(PR_SET_DUMPABLE, 0)
    

    Where it stops

    Root, or a process with debugger rights over IronDome, can still read its memory. On macOS IronDome sets no equivalent of the non-dumpable flag: whether another program of yours may attach a debugger is up to macOS. IRONDOME_DEBUG=1 in IronDome's environment switches both off, and irondome doctor then says so; where the system refuses either change, IronDome runs without it.

  3. 14 A copied secret is taken off the clipboard 13 tests , only the test suite checks it

    macOS · Linux clipboard-cleared

    --copy hands the value to the system's clipboard tool on its standard input, never as an argument, and clears the clipboard after the bunker's clipboard_clear_seconds (15 by default), but only if the clipboard still holds that value. The tool is taken from a fixed list of system directories, never from $PATH, and on macOS and Linux it is used only if it belongs to root or to you and nobody else can write it; one that fails that is refused, not passed over for another.

    In practice

    $ irondome get github --copy
    

    Where it stops

    Clearing is best effort: every program running as you can read the clipboard until then, clipboard managers or sync may keep their own copy, and if the clearing helper is stopped, or the computer sleeps through the delay, the value stays until something else is copied. The check of the tool looks at its file, not at the directories above it.

  4. 15 Secrets never go on a command line 9 tests , only the test suite checks it

    macOS · Linux no-secrets-in-arguments

    No command takes a secret value (a password, key, token, TOTP seed or custom field) as a command-line argument: values come from a hidden prompt, standard input or a file, so they reach neither your shell history nor the process list. IronDome hands them to the programs it runs itself (clipboard tools, the Secure Enclave helper, tpm2-tools) the same way.

    In practice

    $ irondome add stripe --value-stdin < key.txt
    

    Where it stops

    A secret you put on a command line yourself, in a here-string or an echo, is in your shell's history, and so are entry names, usernames, URLs, tags and notes given as options (use --note-stdin for a note that is secret). irondome run hands secrets to the program you name through its environment, which other processes running as you can read.

04/05

FOR AGENTS

What an agent gets

Capabilities, not secrets.

The life of a grant

  1. createdthe values it names, a time limit, its uses
  2. useduntil its uses run out
  3. destroyedits token opens nothing
  1. or
  2. it expires
  3. destroyed
  1. but
  2. its file is copied and put back
  3. it works again until it expires
  4. irondome rekey or nukeends every grant
  1. 16 A grant opens only what it names, for as long as it says 17 tests , irondome verify checks it

    macOS · Linux grants-are-scoped

    A grant token gives access to the values named when it was created and to nothing else, until it expires or its uses run out. A used-up or expired grant is destroyed, and its token no longer opens anything.

    In practice

    $ irondome grant create GITHUB_TOKEN --ttl 15m
    irondome_g_…
    

    Where it stops

    A grant token is a bearer secret: whoever holds it, and can read the grant file, has what it grants.

    The rest of the boundary

    Expiry, use counts and revoking a single grant are enforced by IronDome and by deleting the grant's file, not by hardware: a process that can write the bunker's caps/ directory can copy the file before a use or a revoke and put it back, and the grant then works again until it expires.

    Every grant is bound to a device secret of this machine, and irondome rekey or nuke destroys it, which ends every grant, even one whose file was put back.

  2. 17 A grant never contains the vault key, the master password or an OTP seed 8 tests , irondome verify checks it

    macOS · Linux grants-hold-no-keys

    A grant is a separate encrypted snapshot of the named values. It cannot be turned into access to the rest of the vault: it holds neither the vault key nor the master password. A grant for a one-time-password field contains only the codes valid during its lifetime, never the seed that generates them.

    In practice

    One-time codes TOTP, RFC 6238

    An agent can log in for an hour; it can never mint a code after that.

    $ irondome grant create github/totp --ttl 1h
    

    Where it stops

    A grant carries one key of its own, derived one-way from the vault key and good only for signing that grant's audit records. Sessions (irondome unlock) are different: a session token wraps the vault key and is meant for the owner's own shell only.

  3. 18 Secrets used by an agent do not appear in its transcript 14 tests , irondome verify checks it

    macOS · Linux secrets-stay-out-of-transcripts

    irondome run places secrets in the child process's environment, masks them in everything the child prints (as they are; in base64; in hex, run together or with a colon, a hyphen or a space between the bytes; percent-encoded as the common encoders write it, once or twice over; HTML-escaped; as a JSON string the way Python, JavaScript, Go and PHP write one; as a shell string between quotes or as bash's printf %q writes it; with its quotes doubled, as in CSV; each line of a secret of several lines; and, for a secret kept with white space around it, all of those for the secret without that white space), and never passes a session or grant token to the child.

    The MCP server returns names, exit codes and masked output, not secret values.

    In practice

    MCP over stdio

    An env file holds references, not values, and irondome run resolves them as the command starts. The file still names your secrets.

    irondome run puts the secret in the child's environment and replaces it, and the forms ordinary encoders give it (base64, hex, URL-encoded, JSON, shell-quoted), in everything the child prints. Tokens are never passed down to the child.

    irondome mcp lists what it may use, runs commands with secrets injected, and returns one-time codes.

    GITHUB_TOKEN=irondome://GITHUB_TOKEN
    DATABASE_URL=irondome://DATABASE_URL
    
    $ irondome run --env GITHUB_TOKEN -- printenv GITHUB_TOKEN
    [irondome:GITHUB_TOKEN]
    
    $ irondome mcp config --client claude-code
    

    Where it stops

    This prevents accidents, not intent: a command that deliberately transforms a secret before printing it defeats masking, and so does an encoding that is not on the list: base64 or hex folded over several lines, a dump laid out by xxd or od, compression, a part of the value, a third round of percent-encoding, another escaping style (bash writes a value that holds a control character as $'...').

    The rest of the boundary

    The Go and PHP forms follow what those encoders' documentation says they write; they were not run here.

    A value shorter than 4 bytes is not masked, one shorter than 8 only as it is and not in its encodings, and a line of a secret of several lines only if it is one unbroken token of 20 bytes or more (a line of a key, not a line with spaces, and not the lines that open and close a PEM block); a short value is masked wherever those characters occur, which can show a reader where it is.

    A grant created with --reveal, or an entry marked --agent reveal, allows the value to be shown. With --timeout the command and the processes that descend from it are asked to stop, given three seconds, and killed; one that made itself a daemon is not found, and whatever a command leaves running keeps the values it was given.

    irondome run reads .env.irondome in the working directory without being asked and says which variables it takes from it, with -q as well.

    A file nobody named may only ask for a secret under the name its owner gave it (NAME=irondome://NAME, where NAME is an alias or an entry: what --env NAME does); if it sets anything as written, or points a variable at another entry or at a field, irondome run refuses until the file is named with --env-file, because no list of the variables that choose what code runs (PATH, LD_PRELOAD, LESSOPEN, MAKEFILES and many more) is complete, and a variable pointed at a field its author can guess (a user name, a URL) chooses as well as one set as written.

    In a directory someone else wrote, that file still decides which of your named secrets the command receives: read it first. The MCP server runs for as long as the agent's session, and the values it has used stay in its memory, as ordinary Python strings, until it exits.

  4. 19 An agent cannot widen its own access 14 tests , only the test suite checks it

    macOS · Linux agents-cannot-escalate

    Without a terminal or the master password, IronDome refuses to create sessions, aliases or entries, to change keyslots, to export, and to read entries the owner has not marked for agents. The one thing an agent can ask for is a time-boxed, use-only grant for entries marked for agents (irondome approve), and only the owner's Touch ID creates it. Under a session alone, IronDome's commands refuse to create a grant that would outlive the session and to set what agents may do with an entry: both ask for the master password again.

    In practice

    On a Mac whose vault has a Touch ID keyslot, an agent with no grant can ask: irondome approve GITHUB_TOKEN --ttl 10m. You see one Touch ID prompt naming the secret and the time; on a touch the agent gets a use-only grant for ten minutes (an hour at most), with no limit on uses within that time. Only entries you marked for agents can be approved, and nothing but your finger creates the grant. Read the prompt before you touch.

    Where it stops

    A session token unwraps the vault key.

    The rest of the boundary

    Whatever holds one can do everything the owner can for as long as the session lasts: read, change and delete entries, and make grants that expire no later than it does. Ending the session early (irondome lock) revokes the grants made under it, which carry its mark in their label.

    What the commands refuse under a session stops accidents and tools that only run irondome; a program that uses the token with its own code is not bound by it and can make a grant that outlives the session. Never let an agent inherit one; use grants.

    What is done under a session is recorded in the audit log as session, with or without a terminal, not as owner; agent in that log is a command that had no terminal and was given no master password (the MCP server, a Touch ID approval). A Touch ID prompt shows text chosen by the program that raised it: read it before you touch.

    Anything that runs as you can type wrong master passwords: on a TPM, a few of them put the chip into lockout and the vault refuses its owner too until the TPM forgives them (a locked TPM takes no new keyslot either: the recovery key gets the owner in meanwhile with a file-based device key, IRONDOME_DEVICE_BACKEND=software irondome recovery use, and irondome rekey moves the vault back onto the chip afterwards).

  5. 20 Every agent access is recorded, and edits to the record are detected 22 tests , irondome verify checks it

    macOS · Linux audit-log

    Each use of a grant, a session or a Touch ID approval, and every change to the vault, is appended to an encrypted, hash-chained log. irondome audit --verify detects edited, reordered, forged and removed lines. A re-key sets the log aside and starts a new one; the old one stays readable and checkable with irondome audit --archive.

    In practice

    $ irondome audit --verify
    

    Where it stops

    Deleting the newest lines of the log, or the whole log, is not detected, and a grant holder who can write the file can replace the newest lines with records of its own.

    The rest of the boundary

    What reads an archived log is the audit key of the vault key it was written under; each re-key carries those keys forward in the new vault's encrypted index. A log archived by a vault that did not yet do so, or one from another vault, cannot be read.

    While a re-key that was stopped part way has not been finished, the log on disk is still the one written under the old vault key: irondome audit --verify says that it cannot be checked yet, not that it was altered, and irondome rekey sets it aside so that it can be.

05/05

AT THE PERIMETER

What can leave

The claim that is easiest to check: there is no network code to read.

  1. 21 IronDome cannot make a network connection 9 tests , irondome verify checks it

    macOS · Linux no-network

    No module imports a networking library, and every command works with socket creation disabled. There is no account, no sync, no telemetry and no update check.

    In practice

    Not "we do not sync": there is no code path that could.

    Nothing to sign up for, nothing to log in to, no analytics, no update check.

    socket.socket = refuse   # the whole suite runs like this
    

    Where it stops

    Programs you start with irondome run are yours: they can use the network.

  2. 22 One direct dependency 6 tests , irondome verify checks it

    macOS · Linux one-dependency

    The package depends on the Python standard library and on cryptography, and on nothing else. The only native code is a Secure Enclave helper compiled on your machine from source shipped in the package.

    In practice

    cryptography, from the Python Cryptographic Authority.

    No UI framework, no keyring or MCP library: fewer packages that could be compromised between you and your secrets.

    dependencies = ["cryptography>=50.0.2"]
    

    Where it stops

    cryptography bundles OpenSSL and brings what it depends on itself: cffi and pycparser, and typing-extensions on Python 3.9 and 3.10.

  3. 23 nuke makes every copy of the vault directory unreadable 13 tests , irondome verify checks it

    macOS · Linux crypto-erase

    nuke destroys the device secrets before it deletes anything else: the one every keyslot opened by a password or a fingerprint needs, and the one every session and grant is bound to. Afterwards, restoring a complete, bit-perfect copy of the vault directory and supplying the correct master password, a session token or a grant token opens nothing: what an SSD kept of the old blocks no longer matters.

    In practice

    A backup that also holds the device folder is the copy to destroy yourself, and on the file-based backend this is best effort.

    Where it stops

    A recovery key on paper can still open a surviving copy of the vault file; nuke says so when the vault has one.

    The rest of the boundary

    A portable backup made with irondome export needs no device secret and opens with its own password. TPM: the secret was only ever inside the chip. Secure Enclave: what is deleted is the sealed key blob, a file in the device directory, and a copy of that file works again in this Mac's Secure Enclave (under Touch ID, with a finger) and nowhere else.

    So the statement is about copies of the vault directory: a backup, clone or snapshot that also holds the device directory, put back on this Mac, opens the vault with the master password or with a token that was valid when the copy was made.

    IronDome marks the device directory as left out of Time Machine when it creates it; a clone, a disk image, a local snapshot or a backup program that does not read the mark is not kept from copying it. The mark was read back with macOS's own tools; no Time Machine backup was run to see it honoured.

    File-based backend: the device key file is overwritten and unlinked, which on an SSD is best effort, and a copy of the device directory opens the vault in the same way.

What IronDome does not do

The honest half of the page

Every item here is also in the README. If a security tool only tells you what it is good at, you are reading marketing.

  1. 01

    No independent third-party audit

    6,110 self-authored tests are not an audit. Version 4 was built by its author with an AI coding model and tried before release by separate AI agents: that is not an audit either. Nobody outside the project has reviewed the cryptography. Treat this as beta software.

    Claim 01, where it stops (Argon2id and AES-256-GCM, from one widely used library)

  2. 02

    Malware that already runs as you

    While a vault is open, a process with debugger rights over IronDome (root, for one) can read what IronDome reads, and a keylogger can capture a master password. In Touch ID mode you rarely type the master password, but it still opens the vault unless you chose touchid+password or --no-password; and malware can raise a Touch ID prompt of its own: read the prompt before you touch. Nothing takes away the open window.

    Claim 13, where it stops (No core dumps, and on Linux no debugger from your other programs)Claim 19, where it stops (An agent cannot widen its own access)

  3. 03

    An agent that means to leak

    Masking stops accidents. A command that reverses a secret before printing it gets it through, and so does an encoding IronDome does not know. irondome run also reads .env.irondome from the directory it runs in without being asked, and lists what it takes from it. Such a file may only ask for a secret under the name you gave it (NAME=irondome://NAME); one that sets anything as written, or points a variable at another entry or field, is refused until you name it with --env-file. In a directory someone else wrote, read that file first: it still decides which of your named secrets the command receives. Narrow, short-lived grants limit the damage; they do not make an agent trustworthy.

    Claim 18, where it stops (Secrets used by an agent do not appear in its transcript)

  4. 04

    Decrypted entries are ordinary strings

    A password you asked to see exists as a Python string until the command exits. Only IronDome's own copies of key material stay in locked, wiped memory: Argon2id inside cryptography leaves a copy of what it is given, which is a prehash of the master password and never the password; IronDome has Argon2id run in a child process so that the copy ends with the child, and while it runs the child holds the prehash and the key outside locked pages. Where no child can be made, IronDome derives again from zeros instead, which depends on the allocator and is not a guarantee.

    Claim 12, where it stops (Key material is wiped from memory)

  5. 05

    Grant and session tokens are bearer secrets

    Whoever holds one, and can read its file, has what it grants; a session token in an agent's environment is full access while the session lasts: it unwraps the vault key. IronDome's commands will not make a grant that outlives a session without the master password, but a program that uses the token itself is not bound by that. Ending a session with irondome lock revokes the grants made under it. Revoking a grant, and its use count, rest on deleting its file: a process that can write the bunker's caps/ directory can put a copy back, and the grant works again until it expires. irondome rekey ends that.

    Claim 16, where it stops (A grant opens only what it names, for as long as it says)Claim 19, where it stops (An agent cannot widen its own access)

  6. 06

    Anything running as you can lock you out for a while

    On a TPM, a few wrong master passwords put the chip into lockout, whoever typed them, and the vault then refuses the right password too until the TPM forgives them. Nothing is read or changed that way. A locked TPM takes no new keyslot either: the recovery key gets you in meanwhile with a file-based device key, and irondome recovery use says how.

    Claim 09, where it stops (On Linux the TPM checks the password and rate-limits guesses)

  7. 07

    A recovery key and an exported backup outlive nuke

    If you keep a recovery key on paper and a copy of the vault file survives somewhere, that copy opens. Create the vault with --no-recovery if you would rather lose the data. A portable backup made with irondome export opens with its own password wherever it is.

    Claim 23, where it stops (nuke makes every copy of the vault directory unreadable)Claim 10, where it stops (The recovery key opens the vault without the device)

  8. 08

    A copy of the device folder outlives nuke as well

    On a Mac the device key is a sealed file in ~/Library/Application Support/IronDome/device that only this Mac's Secure Enclave can use, and nuke, rekey and passwd destroy keys by deleting such files. IronDome marks that folder as left out of Time Machine when it creates it. A clone, a disk image, a local snapshot or a backup program that does not read the mark can still hold it: put back on this Mac with the vault, it opens with the master password. A restore from Time Machine comes back without the folder (that is what the mark asks for; no backup was run to see it), and then the recovery key is what opens the vault.

    Claim 23, where it stops (nuke makes every copy of the vault directory unreadable)

  9. 09

    Bunkers separate vaults, not accounts

    Every bunker belongs to the same operating-system user, so malware running as that user is in the same position against each of them.

    Claim 11, where it stops (Several bunkers on one machine, each sealed from the others)

  10. 10

    Whole-file rollback is not detected

    Individual records cannot be replayed, but an older copy of the entire vault file is a valid older vault. Deleting the newest lines of the audit log, or the whole log, is not detected either.

    Claim 03, where it stops (Altered, swapped or rolled-back records are rejected)Claim 20, where it stops (Every agent access is recorded, and edits to the record are detected)

  11. 11

    The vault file shows a little

    Anyone who can read it sees how many entries there are and the padded size of each, when the vault was created and how many times it has been written, and how it opens (keyslot kinds, backend, Argon2id cost). Names, usernames, URLs, tags and values are not visible.

    Claim 02, where it stops (Names, usernames, URLs and tags are encrypted, not just passwords)

  12. 12

    No hardware backend on Windows

    Windows runs with the file-based device key and is not covered by the test suite.

    Claim 07, where it stops (On an Apple-silicon Mac or Linux with a TPM 2.0, the device secret is held by the security chip)

Contents