
A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

A Rust toolset providing dazai, a session-bound daemon whose MCP server registers agent PIDs for session-bound protection, and motokano, a self-immolating MCP server that serves secrets for a limited number of reads before wiping them.
Burn-after-reading MCP servers for AI agent secrets is cataloged as an MCP server attributed to new1direction. A Rust toolset providing dazai, a session-bound daemon whose MCP server registers agent PIDs for session-bound protection, and motokano, a self-immolating MCP server that serves secrets for a limited number of reads before wiping them. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Burn-after-reading MCP servers for AI agent secrets are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
motokano serves the configured number of calls, then wipes the secret from locked memory and kills itself, so a further call finds the process gone.
No; dazai daemon runs in dry-run mode by default, and the --arm flag must be passed to make the wipe-and-kill behavior real.
Yes; when a panic signal arrives, the daemon SIGKILLs every registered process and wipes its secrets.
README.md · f46435610e49 · Fetched 2026-11-13 14:11:42 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Burn-after-reading secrets for AI agents.
ningen-shikkaku ships two small Rust binaries — dazai (the session-bound daemon) and motokano (a self-immolating one-shot MCP server).
Your MCP configs are full of plaintext API keys, and every agent you run can read all of them — and they keep working long after the agent is done. dazai inverts that: secrets live in locked, non-swappable RAM, are served to agents over MCP, and are destroyed after N reads — or the instant your session dies.

motokano --calls 1 --tool 'name=get_key,kind=static,value=s3cr3t' --arm
Point any MCP client at it and call get_key once → you receive s3cr3t
→ the server wipes the value out of locked memory and SIGKILLs itself. Call
again → the process is gone.
# prebuilt binaries (macOS arm64/x86_64, Linux x86_64/arm64)
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/New1Direction/ningen-shikkaku/releases/latest/download/dazai-installer.sh | sh
# or homebrew
brew install New1Direction/tap/dazai New1Direction/tap/motokano
# or from source (required for the Linux seccomp build)
git clone https://github.com/New1Direction/ningen-shikkaku
cd ningen-shikkaku/rs
cargo build --release # -> target/release/{dazai, motokano}
cargo build --release --features seccomp # Linux: seccomp syscall allowlist
Prebuilt binaries are built with default features; the seccomp-confined daemon
is a from-source build (it links libseccomp — install libseccomp-dev +
pkg-config first).
# a one-shot secret an agent can read exactly once:
claude mcp add burn-once -- motokano --calls 1 --arm \
--tool 'name=get_key,kind=static,value=YOUR-SECRET'
# or the session-bound daemon: agents register their PID and get SIGKILLed
# the moment your session dies
dazai daemon --arm --grace 5 &
claude mcp add dazai -- dazai mcp
Any MCP client works the same way — the transport is plain stdio.
The same daemon is a session kill-switch. Any MCP client registers its PID;
when your shell/SSH session dies, your heartbeat stops, or a panic signal
arrives, dazai SIGKILLs every registered process, overwrites its secrets
with a wipe the compiler can't optimize away, and exits. Walk away: agents
die, secrets burn.
dazai daemon --ping-timeout 15 # terminal A (dry-run by default; --arm makes it real)
dazai client --interval 5 # terminal B
# close terminal B -> the daemon wipes its secrets and exits
It runs only on your own machine, on your own secrets and your own configured tools. It never touches another process, file, or host.
It ships in two layers:
mlock (no swap),
madvise(MADV_DONTDUMP) + prctl(PR_SET_DUMPABLE, 0) (no core dumps / no
ptrace), a seccomp syscall allowlist (no execve/open/connect/…), and
a non-elidable explicit_bzero / memset_s wipe; andpython-reference.md).| Component | What it does |
|---|---|
dazai daemon | The watchdog: holds mlock'd secrets + a UNIX-socket heartbeat; wipes and self-destructs on session loss. seccomp-confined on Linux. |
dazai client | The heartbeat client — ties the daemon's life to a shell / SSH session. |
dazai mcp | An MCP server exposing the daemon as tools, so any agent can register its PID for session-bound protection (it gets SIGKILLed if your session dies). |
motokano | A standalone self-immolating MCP server: serve N tool calls, then wipe secret state and exit. |
| Python reference | secmem.py / deadman.py / heartbeat.py / shellrc.sh — the portable proof-of-concept. |
flowchart LR
A["MCP client / AI agent<br/>(stdio transport)"]
subgraph Daemon["dazai daemon (kikka Watchdog)"]
D["dazai daemon<br/>mlock'd SecretBuffers (goodnight)<br/>seccomp-confined on Linux (kekkai)"]
SOCK[("UNIX socket 0600<br/>HELLO heartbeat + REGISTER / ARM / STATUS")]
end
MCPD["dazai mcp<br/>(rei · rmcp server)"]
HB["dazai client<br/>(heartbeat: HELLO / PING)"]
MOTO["motokano<br/>(self-immolating MCP server)<br/>static values in SecretBuffer"]
KILL{{"wipe (explicit_bzero / memset_s)<br/>+ SIGKILL"}}
A -->|"register pid / status / panic"| MCPD
A -->|"get_key (static, N reads)"| MOTO
MCPD -->|"relay verbs + signals via pidfile"| SOCK
HB -->|"holds liveness connection"| SOCK
SOCK --- D
MOTO -. "optional --dazai-socket: register + monitor" .-> SOCK
D ==>|"on trigger: SIGKILL registered PIDs, then wipe + self-SIGKILL"| KILL
MOTO ==>|"after N calls / EOF / daemon death: wipe + exit"| KILL
HB -. "drop / ping-timeout / panic signal" .-> D
dazai daemon and motokano can feed Korg's
tamper-evident ledger: --korg-sink PATH (or /dev/fd/N for a pre-opened
descriptor) appends one Korg append-shape record per arm, session, read, wipe
and kill step. Records carry only fixed-vocabulary fields and counters. Secret
values, lengths, digests, tool names, arguments, paths and the environment are
never recorded. Korg imports the file through its ningen-shikkaku.lifecycle@v2
envelope profile and assigns sequence numbers, hashes and signatures. See Korg lifecycle records.
daZai shrinks the window and the surface in which plaintext secrets are reachable, and makes session-end deterministically destroy them.
It protects against:
| Risk | How |
|---|---|
| Secrets paged to swap | mlock locks the buffers into RAM |
| Secrets captured in core dumps | madvise(MADV_DONTDUMP) + prctl(PR_SET_DUMPABLE, 0) (Linux) |
| Session loss leaving secrets resident | heartbeat drop / logout → wipe + SIGKILL |
| Secrets lingering in process memory after use | explicit_bzero / memset_s — a wipe the compiler may not elide |
| A confined process escaping | seccomp allowlist denies execve / open / connect / ptrace / … (Linux) |
| ptrace snooping the daemon | prctl(PR_SET_DUMPABLE, 0) (Linux) |
It does NOT protect against (and the project is deliberately honest about this):
exec-tool stdout. motokano's kind=exec tools return a command's
stdout, which is OS-buffered and not held in a locked buffer. Use
kind=static (a pre-loaded, locked, wipeable value) when you need the wipe
guarantee.bytes freely,
so a secret may transiently live in unlocked heap before/after the locked
buffer. The Rust implementation eliminates this for its own buffers (data
is written into the locked mapping and never copied to a GC heap); the Python
tier is a reference, not a hard guarantee./proc/<pid>/mem,
a debugger) reading memory before the wipe. mlock stops swap, not memory
reads; seccomp + PR_SET_DUMPABLE raise the bar on Linux, but an adversary
who already has privileged access to your running machine is out of scope.kill -9, power loss): the wipe
path can't run, so nothing is zeroed. The mechanism is best-effort on these
paths and never claims otherwise.In short: daZai is not, and cannot be, a guarantee against an attacker who already owns your running machine. It is a sharp tool for making secrets ephemeral and session-bound, with every limitation stated up front.
KillProcess filter — aarch64 (locally) and x86_64
(CI) — where the daemon
installs the live filter and the full integration suite runs against it with
no SIGSYS.--features seccomp),
clippy -D warnings, and rustfmt --check on x86_64 Linux as a permanent
regression gate.Deep technical docs (per-crate design, the seccomp allowlist, the
adversarial-review history) live in rs/README.md; the Python
proof-of-concept is in python-reference.md.
Named for the novelist Osamu Dazai, whose work circles themes of disappearance and self-erasure — fitting for software whose defining act is to wipe itself out the moment it is no longer being watched over. The repository takes its name from his novel No Longer Human (人間失格, Ningen Shikkaku). It's flavor, not a manifesto; the software just self-destructs on cue.
MIT © 2026 New1Direction.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Burn-after-reading MCP servers for AI agent secrets from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/ningen-shikkaku)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.