Atlas / MCP servers / lbailey94 / whitemagic

whitemagicBLOCK

mcp/lbailey94/whitemagic

Local-first, governed memory and session continuity for AI coding agents, over MCP - verifiable handoffs via signed continuity receipts. Rust, MIT, no telemetry by default.

Verdict
BLOCK
Grade
F
Trust score
44 /100
Exposed tools
—
Transport
stdio · streamable-http
License
MIT
Stars
0
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://dmv.agentcommunity.org/c/UNIT-FA2-46DL/whitemagic)

A local-first memory layer for MCP agents.

WhiteMagic gives an AI agent durable project memory over MCP: record important context, find it after restart, and carry useful decisions into the next session — without sending your memory store to any hosted service.

You are an agent reading this repo? Start with skill.md (five-minute operational onboarding) and llms.txt (machine-readable index).

{
"mcpServers": {
"whitemagic": {
"command": "wm",
"args": ["serve", "--profile", "cyberbrain"]
}
}
}

Hosted services (separate from the local package)

  • Remote MCP — https://mcp.whitemagic.dev/mcp (streamable-http):

read-only recall over a curated public corpus; keyless discovery; evaluation keys with a published 50 recalls/day allowance; OAuth 2.1; x402 session lease options published as $0.01 for 5 minutes or $0.50 for 24 hours, with a published 10,000 RPM limit; and memory.search_batch for up to 10 queries in one MCP call. These limits and options are described by the live server card; the batch tool is also present in the live tools/list response. Your local store is not uploaded to this read-only recall lane.

  • Receipt verification and agent trust API — https://api.whitemagic.dev:

stateless POST /verify for continuity-receipt bundles (/health and /info keyless), plus a published /erc8004/validate adapter targeting Base. See the API's live service metadata and endpoint documentation for the advertised contract.

  • Memory Crystal client and API — scripts/crystal_client.py

seals and opens crystal envelopes locally with AES-256-GCM or ChaCha20-

Read from source at commit 88393e9fdeffOBSERVED · 2026-10-12
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add whitemagic-mcp -- npx -y [email protected]
claude-code (oci)
claude mcp add whitemagic:10.3.0 -- docker run -i --rm docker.io/lbailey94/whitemagic:10.3.0:None
03

Trust audit

BLOCKgrade F · trust 44/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (11 observation(s))
Network
declared (10 observation(s))
Shell
declared (3 observation(s))
Dependencies
pinned
Secrets in source
found

Findings (25)

CRITICALHard-coded secrets · secret.private_key · CWE-798, CWE-321
crates/wm-gen3-core/src/quarantine.rs:127
if text.contains("-----BEGIN PRIVATE KEY-----")
CRITICALHard-coded secrets · secret.private_key · CWE-798, CWE-321
crates/wm-gen3-core/src/quarantine.rs:128
|| text.contains("-----BEGIN RSA PRIVATE KEY-----")
CRITICALHard-coded secrets · secret.private_key · CWE-798, CWE-321
crates/wm-gen3-core/src/quarantine.rs:129
|| text.contains("-----BEGIN EC PRIVATE KEY-----")
CRITICALHard-coded secrets · secret.private_key · CWE-798, CWE-321
crates/wm-gen3-core/src/quarantine.rs:130
|| text.contains("-----BEGIN OPENSSH PRIVATE KEY-----")
CRITICALHard-coded secrets · secret.private_key · CWE-798, CWE-321
crates/wm-gen3-core/src/quarantine.rs:503
content: "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEA...".to_string(),
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
crates/wm-gen3-harness/src/bin/wm.rs:6670
println!("  JEV Pre-Triage:    26.70 ns / eval  (37.5M evals/sec)");
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
crates/wm-gen3-harness/src/bin/wm_benchmark.rs:485
"  ✓ Precondition Contract:   {:.2} ns/eval (Store, Landlock, Mesh)",
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/wm-gen3-core/src/firebreak.rs:179
"~/.ssh",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/wm-gen3-core/src/firebreak.rs:180
"~/.gnupg",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/wm-gen3-core/src/firebreak.rs:569
"~/.ssh" => {
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/wm-gen3-core/src/firebreak.rs:570
Self::path_prefix_match("~/.ssh", s)
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/wm-gen3-core/src/firebreak.rs:573
"~/.gnupg" => {
Why it matters. touches a credential store
HIGHNetwork egress · net.env_exfil · CWE-200, CWE-319
crates/wm-gen3-core/src/firebreak.rs:739
id_rsa ... curl
Why it matters. reads secrets in the same file that sends data out
MEDIUMInventory / provenance · inv.binary · CWE-1104
catalogs/sutra_vectors.bin
sutra_vectors.bin
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
crates/wm-gen3-core/catalogs/sutra_vectors.bin
sutra_vectors.bin
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
fuzz/corpus/frame_read/seed_min_frame
seed_min_frame
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
crates/wm-gen3-core/src/evidence.rs:369
let id = store.system("mesh beacon accepted", "sangha-transport");
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
crates/wm-gen3-core/src/kdf.rs:148
assert_ne!(mesh_a, hkdf32(root, "wm/beacon/v1"));
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
crates/wm-gen3-core/src/mandala.rs:2552
let parent_all = mk_manifest(ScopeMode::All, &[], &["secret:exfil"]);
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
crates/wm-gen3-core/src/mandala.rs:2564
.attenuate(&mk_manifest(ScopeMode::Include, &["secret:exfil"], &[]))
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
crates/wm-gen3-core/src/mandala.rs:2578
.attenuate(&mk_manifest(ScopeMode::All, &[], &["secret:exfil"]))
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
crates/wm-gen3-harness/src/bridge.rs:5135
"endpoint": "http://127.0.0.1:8787",
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
crates/wm-gen3-harness/src/receipt_verify.rs:1355
endpoint: "http://127.0.0.1:11434/v1".into(),
LOWInventory / provenance · inv.hidden_file · CWE-1104
.gitleaks.toml
.gitleaks.toml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
packaging/aur/.SRCINFO
.SRCINFO
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose

Gates applied: critical_finding, no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 88393e9fdefffull audit observations/trust-audit/mcp-server/lbailey94__whitemagic.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-1288393e9fdeffBLOCKF44first audit
05

Questions

What is the whitemagic MCP server?

Local-first, governed memory and session continuity for AI coding agents, over MCP - verifiable handoffs via signed continuity receipts. Rust, MIT, no telemetry by default.

Is whitemagic safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (44/100) and found 13 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does whitemagic need?

It reads GITHUB_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does whitemagic run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as whitemagic-mcp at 10.3.0.

How current is this page?

The grade is for one exact copy of the source (88393e9fdeff), read on 2026-10-12. The repository is watched and re-audited when it changes.

Advertisement