Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

mipmem

Latest version: v1.1.2

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: pageel
0 Stars
0 Forks
5 Versions
377 Downloads
Python Repo language

Scan summary

mipmem was last scanned on 27 Nov 2026 at version 1.1.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions, all published within 3 days (25–27 Nov 2026).
  • Findings: No rules fired in version 1.1.2.
  • Downloads: 377 downloads.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.2 LATEST 27 Nov 2026 No rules fired
1.1.1 26 Nov 2026 No rules fired
1.1.0 26 Nov 2026 No rules fired
1.0.1 25 Nov 2026 Not shown
1.0.0 25 Nov 2026 Not shown

No rules fired in 1.1.2

Findings

Findings for v1.1.2. 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 1.1.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

MipMem

CI Quality Gate License: MIT

English | Tiếng Việt

Zero-dependency, zero-LLM-cost 4-layer mipmapped cognitive memory engine with a conflict-free sharded multi-host vault, multi-host Git/folder sync, RCE-safe private sub-apps, opt-in self-update, sub-5ms bilingual SQLite FTS5 recall, Native Antigravity Plugin, and Universal Local stdio MCP server.

MipMem is built strictly on the Python >= 3.9 standard library (dependencies = []) and ships across both PyPI and standalone single-file .pyz zipapp bundles engineered for sub-25ms hot-path CLI and hook execution.


Key Architecture & Safety Guarantees (v1.1.2)

  • Zero External Dependencies & Zero LLM Cost: Runs anywhere Python >= 3.9 is installed with zero runtime packages (dependencies = []) and zero embedding or LLM API calls.
  • 4-Layer Mipmap Engine (L0 → L3):
    • L0 startup radar strictly bounded by budget.l0_max_tokens (default 300), incorporating collapsed or alert-driven Sub-App telemetry and sync conflict warnings.
    • L1 structural skeleton cards with #Lstart-Lend pointers strictly bounded by budget.l1_max_tokens (default 450), truncated on line boundaries without ever leaving unclosed Markdown fenced code blocks.
    • L2 surgical section (§k) and line-range (#Lstart-Lend) slicing, plus lossless L3 full-document access.
  • Per-Host Private Sub-Apps Contract (core/subapps.py):
    • Keeps core OS-agnostic while allowing machine-specific health monitors (hosts/<host_id>/telemetry/<app_id>.status.json + safe detail_file path guard inside host_dir) to surface in L0 Radar, /mem fleet, mipmem fleet --json, and mem_fleet_status.
    • Allows machine-local /mem <app> delegates via <config_dir>/apps.d/*.json only (never read from the synced Vault), verifying POSIX UID ownership, non-group/world-writable permissions (mode & 0o022 == 0), shell=False, timeout caps (5s default, 15s hard max), secret redaction, and collision protection against core /mem commands.
  • Conflict-Free Multi-Host Vault & Git/Folder Sync (mipmem.sync):
    • Strict single-writer layout (hosts/<host_id>/, shared/brainstorms/by-host/<host_id>/) with local gitignored .cache/global_fts.db.
    • GitSyncBackend: Uses GIT_TERMINAL_PROMPT=0 (OS SSH-Agent / Credential Helper, zero stored PATs), fcntl.flock on <cache_dir>/sync.lock, core.filemode=false, single-writer staging, git pull --rebase --autostash, automatic git rebase --abort + sync_status.json conflict alert on manual shared edits, and detached Stop-hook sync (start_new_session=True, 0ms foreground UI block) with redacted CP-SYN-01 errors logged to <cache_dir>/mipmem.log.
    • Self-Describing Private Vault & One-Line mipmem join: Every initialized vault includes host-agnostic AGENTS.md and README.md guides (write-if-missing, explicit mipmem init --refresh-guide, Safety Guard requiring human confirmation), enabling 2-step onboarding on any new machine via mipmem join <vault_remote_url> with JOIN_HOST_CONFLICT (--adopt-host) and JOIN_VAULT_OCCUPIED guards.
    • FolderSyncBackend: Bi-directional atomic single-writer sync across Syncthing, Tailscale Drive, or shared local directories ([sync].folder_path), ignoring .cache/ and .git/, preventing nested-vault recursion, and skipping escaping symlinks.
  • Opt-In Verified Self-Update (core/updater.py):
    • Strictly opt-in (mipmem self-update [--check | --dry-run | --version <tag>]). Enforces HTTPS allowlists to official pageel/mipmem GitHub Releases, verifies SHA256SUMS (hmac.compare_digest), checks ZipFile.testzip(), runs pre-swap health --json in isolation, atomically swaps via os.replace(), and refuses modifying uv/pipx/pip/Plugin/git-dev installs (printing the channel-appropriate upgrade command instead).
  • Dual CLI/IDE Transcript Adapters & Unified user_markdown Hooks (mipmem.adapters):
    • CLI & IDE Harvesters: Opens conversation_summaries.db read-only (mode=ro, skips subagents) and streams transcript.jsonl + lazy transcript_full.jsonl expansion (never auto-scanning artifactDirectoryPath).
    • Fail-Open Hooks & /mem Intercept: Runs SessionStart, PreInvocation (0-indexed invocationNum == 0 step-1 turn gate), and Stop fail-open ({} + exit 0), intercepts /mem ... and plugin-qualified /mipmem:mem ... aliases via metadata.user_markdown + terminationBehavior: "terminate", and enforces disabled > passive > active workspace policies.
  • Universal Local Memory MCP Server (mipmem mcp):
    • Pure stdlib JSON-RPC 2.0 stdio server auto-detecting NDJSON and Content-Length framing (<= 4 MB, zero stray stdout logs, CP-MCP-01) with 6 canonical tools (mem_recall, mem_bs_list, mem_bs_slice, mem_bs_save, mem_handoff, mem_fleet_status).

Installation (4 Channels)

1. PyPI (uv, pipx, or pip)
# Recommended CLI tool installs (isolated environments)
uv tool install mipmem
# or
pipx install mipmem
# or standard pip
python3 -m pip install mipmem

mipmem health --json
mipmem init --host workstation-alpha --json
2. Standalone .pyz Zipapp (GitHub Releases)

Download mipmem.pyz and SHA256SUMS from GitHub Releases:

sha256sum -c SHA256SUMS --ignore-missing
python3 ./mipmem.pyz health --json
python3 ./mipmem.pyz init --host workstation-alpha --json

# Check for or apply opt-in updates later (zipapp mode only)
python3 ./mipmem.pyz self-update --check --json
python3 ./mipmem.pyz self-update

Always invoke .pyz files explicitly with python3 so execution stays portable across Linux, macOS, WSL, and shared mounts regardless of filesystem executable bits.

3. Native Antigravity Plugin (CLI & IDE)

This repository root is a self-contained Native Antigravity Plugin (plugin.json, hooks.json, mcp_config.json, rules/AGENTS.md, skills/mem/SKILL.md, and bin/mipmem.pyz):

  1. Clone or link the repository directory into your Antigravity plugins directory (e.g., ~/.gemini/config/plugins/mipmem or .agents/plugins/mipmem) or register its path in plugins.json.
  2. Initialize your vault once (python3 ./bin/mipmem.pyz init --host workstation-alpha).
  3. Antigravity loads hooks.json, mcp_config.json, rules/AGENTS.md, and skills/mem/SKILL.md automatically in an isolated plugin scope without modifying ~/.agents/hooks.json or ~/.bash_aliases.

Safe Opt-In Artifact Capture: Stop hooks never auto-scan artifactDirectoryPath. To persist a design or research artifact into the Brainstorm Vault, confirm the agent's suggestion (mem_bs_save(title=..., file_path=...)) or run /mem bs save "<title>" --file <path> directly.

4. Universal Local MCP Server (Claude Code, Cursor, Gemini CLI, Antigravity)

Point any stdio-compatible MCP client at mipmem mcp (or bin/mipmem.pyz mcp):

{
  "mcpServers": {
    "mipmem": {
      "command": "python3",
      "args": ["/path/to/mipmem/bin/mipmem.pyz", "mcp"]
    }
  }
}

Exposed MCP tools: mem_recall, mem_bs_list, mem_bs_slice, mem_bs_save, mem_handoff, and mem_fleet_status.


In-Chat /mem Slash Commands (0 LLM Tokens)

Plugin-qualified commands using the /mipmem:mem ... alias (for example /mipmem:mem status) are routed identically to /mem ...:

Command Description
/mem help Display core /mem subcommands and any trusted local apps.d delegates
/mem status Show vault status, active host, known hosts, and FTS5 capability
/mem fleet Show multi-host session/brainstorm inventory, Sub-App telemetry, and sync state
/mem sync [--pull-only \| --push-only] Run configured Git or Folder vault synchronization
/mem recall <query> [--host <h>] [--limit <n>] Run EN/VI FTS5 BM25 Bigram recall
/mem list [start-end] List recent sessions (default 1-10, compact GFM table on CLI)
/mem bs list [--status <s>] [--host <h>] List lossless brainstorm shards with LWW status
/mem bs save <title> [--file <path>] [--tags a,b] Save redacted inline text or a UTF-8 file (<= 2 MB, non-symlink)
/mem bs view <bs_id> [§k \| #Lstart-Lend \| --l1] View L1 outline card or surgical L2 section/line slice
/mem bs status <bs_id> <status> Append a conflict-free status event to the active host journal
/mem config [show \| get <k> \| set <k> <v>] View or update typed settings in config.toml
/mem handoff [@<host_id>] Display the latest Primary Work Anchor handoff for a host
/mem <app> [args...] Execute a trusted local ~/.config/mipmem/apps.d/<app>.json delegate

CLI Reference (v1.1.2)

Command Purpose
mipmem init [--host <id>] [--vault <dir>] [--refresh-guide] [--json] Initialize config.toml, create host-isolated vault directories (0700/0600), and write/refresh AGENTS.md + README.md
mipmem join <vault_remote_url> [--host <id>] [--adopt-host] [--locale en\|vi] [--no-sync-on-stop] [--skip-sync] [--vault <dir>] [--config <path>] [--json] Clone private vault (shell=False, core.filemode=false), guard against host_id/dir collisions, configure config.toml, rebuild FTS5, and sync
mipmem config [show \| get <k> \| set <k> <v>] [--json] Display, read, or validate & persist typed settings in config.toml
mipmem health [--vault <dir>] [--require-vault] [--deep] [--json] Fast < 25ms check, or --deep FTS5, index, sync_backend, last_sync_status, and subapp_delegates_count probe
mipmem fleet [--host <id>] [--vault <dir>] [--json] Output multi-host inventory, Sub-App telemetry, and cached sync status
mipmem sync [--pull-only \| --push-only \| --detached \| --if-configured] [--config <path>] [--host <id>] [--vault <dir>] [--json] Execute conflict-free Git or Folder vault synchronization (exits 0 no-op with --if-configured when unconfigured; accepts custom --config <path>)
mipmem self-update [--check \| --dry-run \| --version <tag>] [--json] Check for releases or atomically update a standalone zipapp (SHA256SUMS + testzip() + pre-swap health)
mipmem migrate --from-v2 <dir> [--vault <dir>] [--host <id>] [--apply] [--force] [--json] Preview (--dry-run default) or idempotently import a legacy v2 flat memory directory
mipmem index [--rebuild] [--locale en\|vi] [--vault <dir>] [--json] Incrementally sync (or --rebuild) .cache/global_fts.db from the Sharded Vault
mipmem recall <query> [--host <id>] [--status <st>] [--limit <N>] [--scope all\|sessions\|brainstorms] [--locale en\|vi] [--json] Run sanitized EN/VI FTS5 BM25 Bigram recall and return ranked L1 memory hits
mipmem bs [list \| save \| view \| status] [...] [--json] Manage lossless brainstorm shards, surgical L2 slices, and conflict-free status events
mipmem hook <session-start \| pre-invocation \| stop> Run Antigravity lifecycle hooks over stdin/stdout JSON with sub-25ms no-op skip & fail-open {}
mipmem mcp [--vault <dir>] Run the universal local stdio JSON-RPC 2.0 MCP server (NDJSON & Content-Length)

Errors on standard CLI commands return a non-zero exit code; when --json is passed, errors emit a structured envelope on stdout:

{"success": false, "error": {"code": "VAULT_NOT_INITIALIZED", "message": "..."}}

Directory Resolution, Configuration & Vault Sync

MipMem resolves runtime directories consistently across CLI, hooks, and MCP integrations in strict precedence order:

  1. Explicit overrides: MIPMEM_CONFIG_DIR, MIPMEM_VAULT_DIR, MIPMEM_CACHE_DIR
  2. [core].vault_path in config.toml (for vault_dir)
  3. XDG directories: XDG_CONFIG_HOME/mipmem, XDG_DATA_HOME/mipmem/vault, XDG_CACHE_HOME/mipmem
  4. Writable home defaults: ~/.config/mipmem, ~/.local/share/mipmem/vault, ~/.cache/mipmem
  5. Fallback (PLUGIN_DATA/{config,vault,cache}) only when $HOME is unset or non-writable

Starter configuration template: copy config.example.toml to ~/.config/mipmem/config.toml and customize:

  • [core].locale: "en" or "vi" (enables Vietnamese đ/Đ FTS5 folding and lexicon packs)
  • [budget]: l0_max_tokens, l1_max_tokens, topic_shift_novelty
  • [workspace_policies]: active | passive | disabled (disabled > passive > default)
  • [sync]:
    • backend = "git" + vault_remote_url = "git@github.com:example-user/my-mipmem-vault.git" + auto_sync_on_stop = true (uses OS SSH-Agent or Git Credential Helper; zero PATs stored)
    • or backend = "folder" + folder_path = "/path/to/shared-sync-folder" (for Syncthing, Tailscale Drive, or local shared folders)
Onboarding a New Machine (2 Steps)

OX Radar and Response Center

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.

Where it’s listed

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).

  • pypi-releases mipmem

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229