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

memoraos

Latest version: v0.5.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: parthivpandya
1 Stars
1 Forks
5 Versions
347 Downloads
Python Repo language

Scan summary

memoraos was last scanned on 25 Nov 2026 at version 0.5.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions, all published within 6 days (20–25 Nov 2026).
  • Findings: No rules fired in version 0.5.0.
  • Downloads: 347 downloads.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.5.0 LATEST 25 Nov 2026 No rules fired
0.4.0 25 Nov 2026 No rules fired
0.3.0 20 Nov 2026 No rules fired
0.2.1 20 Nov 2026 Not shown
0.2.0 20 Nov 2026 Not shown

No rules fired in 0.5.0

Findings

Findings for v0.5.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.5.0; other versions have their own rules, not their own score.

README

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


Proof at a glance

Measured on real data, scored by a mechanical judge (no LLM), regenerated by one command each. Full tables, questions and failures: docs/EVIDENCE.md.

Honest scope. On real prose MemoraOS ties a well-tuned RAG baseline on accuracy (59.4% vs 65.6%, intervals overlap); its edge is change over time, evidence and abstention. The synthetic benchmark is saturated. Details: Limitations and docs/EVIDENCE.md.

Why

Vector search over chat history and documents fails in predictable ways: it returns last year's value next to this year's, mixes up sources that disagree, cannot say what was true on a given date, and answers confidently when memory is silent. MemoraOS treats each of those as a first-class requirement.

The problem What MemoraOS does
Facts change. Bitemporal facts (valid time + recorded time). Nothing is overwritten. "Current", "previous" and "on a date" are different queries over the same facts.
Sources disagree. Contradiction analysis. Version changes resolve; genuine conflicts are reported and never silently picked.
Answers must be trusted. Evidence on every answer (source id, excerpt, effective date, reliability) and insufficient_evidence instead of a guess.
Questions are different. An adaptive router picks exact, temporal, graph, episodic, procedural, BM25, vector, hybrid or evidence-fusion retrieval, and reports why.
Memory must stay inspectable. Originals are never altered; consolidation only adds linked, reversible summaries. Compression never costs you the source.
"What did the agent know on date D?" Time travel over versions and a hash-chained, tamper-evident event log.
Privacy. Tenant and user isolation, secret redaction, hard delete, export, untrusted-data rendering against prompt injection.

Quick start

pip install memoraos            # from PyPI; extras: memoraos[api], memoraos[encryption]

To run the benchmarks and tests, install from a checkout instead:

git clone https://github.com/ParthivPandya/MemoraOS.git && cd MemoraOS
python -m venv .venv && .venv\Scripts\activate          # Linux/macOS: source .venv/bin/activate
pip install -e ".[dev,api]"

The snippet below uses only real data that ships in this repository: the project's security document and the CPython release history copied from three PEPs.

import json
from pathlib import Path

from memoraos import MemoryOS

memory = MemoryOS.local()  # one SQLite file in ./.memoraos: no network, no API key
me = "me"

# 1. A real document, stored as written
memory.remember(Path("docs/SECURITY.md").read_text(encoding="utf-8"), user_id=me, source_type="document", origin="docs/SECURITY.md")

# 2. Real dated facts: the CPython release history from PEP 693, 719 and 745
for rec in json.loads(Path("data/python_releases.json").read_text(encoding="utf-8"))["records"]:
    memory.remember_json({k: rec[k] for k in ("subject", "predicate", "object", "valid_from")}, user_id=me, origin=rec["source"])

for question in (
    "Is encryption at rest implemented in code?",
    "What is the latest version of Python 3.14?",
    "What was the latest version of Python 3.14 in March 2026?",
    "What was the latest stable version of Python before October 2024?",
    "Which Kubernetes version does MemoraOS require?",
):
    r = memory.recall(question, user_id=me)
    print(f"{question}\n  {r.status} | {r.strategy} | {r.answer}")
    if r.evidence:
        e = r.evidence[0]
        print(f"  evidence: {e.kind} | source_type={e.source_type} | reliability={e.source_reliability} | effective={e.effective_at}")

Real output of that script, unedited:

Is encryption at rest implemented in code?
  answered | hybrid | - **Encryption at rest** is opt-in and implemented in code with AES-256-GCM (see [Encryption at rest](#encryption-at-rest)).
  evidence: passage | source_type=document | reliability=0.7 | effective=None
What is the latest version of Python 3.14?
  answered | exact | 3.14.10
  evidence: fact | source_type=structured | reliability=0.85 | effective=2026-10-26T00:00:00.000000Z
What was the latest version of Python 3.14 in March 2026?
  answered | temporal | 3.14.3
  evidence: fact | source_type=structured | reliability=0.85 | effective=2026-02-03T00:00:00.000000Z
What was the latest stable version of Python before October 2024?
  answered | temporal | 3.12 (effective 2023-10-02)
  evidence: fact | source_type=structured | reliability=0.85 | effective=2023-10-02T00:00:00.000000Z
Which Kubernetes version does MemoraOS require?
  insufficient_evidence | vector | The stored memory does not establish an answer to this question.

Four things happened there: the same engine answered from a document and from dated facts; it picked a different strategy for each question (hybrid, exact, temporal); every answer carries the evidence that supports it; and the question about something the documents never mention was refused instead of invented. Answers from documents are extractive passages, as written.

Also available: explain(), history(), recall(as_of=...), correct(), forget(), consolidate(), reflect(), evaluate(). Full reference: docs/API.md.

memoraos keys create --tenant default --role admin     # prints an API key once
memoraos serve                                         # REST API on http://127.0.0.1:8000 (docs at /docs)
python -m pytest                                       # 358 tests
memoraos ci run contracts/python_releases_and_security.json   # Memory CI regression contract
python -m benchmarks.public locomo --help              # public retrieval runs (download the data first, see docs/PUBLIC_BENCHMARKS.md)
docker compose up --build                              # optional container, see docs/DOCKER.md
python -m benchmarks.real_docs                         # real documentation benchmark
python -m benchmarks.real_temporal                     # real PEP release-date benchmark
python -m benchmarks.run                               # synthetic suite, about 2 minutes
python scripts/make_figures.py                         # regenerate every figure in docs/assets from the reports
python examples/temporal_memory/main.py                # also: basic_memory, hybrid_rag, multi_agent, research_memory
cd apps/dashboard && copy .env.example .env.local && npm install && npm run dev      # http://localhost:3000
cd sdk/typescript && npm install && npm test           # TypeScript SDK
MEMORAOS_USER_ID=user_001 memoraos mcp                 # MCP server over stdio (client setup: docs/MCP.md)

Put the API key printed above into MEMORAOS_API_KEY in apps/dashboard/.env.local. The dashboard keeps it server-side. To fill the dashboard with the same real data used in the screenshots below: python scripts/seed_real.py <api-url> <api-key>.

The evidence

Four benchmarks: two on real data, one on public datasets and one synthetic guard. Each one is a command you can run, and each report lists the questions, the data and the failures. The point of publishing the losing rows is that a number you cannot check is not worth much.

1. Real dated data: change over time

benchmarks/real_temporal.py · 14 real dated release records from PEP 693, 719 and 745 · 21 questions (current, previous, "on this date", and unanswerable), gold answers computed from the real dates.

System Accuracy [95% CI] current previous on a date unanswerable
BM25 RAG 4.8% [0, 14.3] 0% 0% 7.1% 0%
Vector RAG 28.6% [9.5, 47.6] 0% 0% 42.9% 0%
Hybrid RAG 19.0% [4.8, 38.1] 0% 0% 28.6% 0%
Hybrid RAG + abstention gate 19.0% [4.8, 38.1] 0% 0% 28.6% 0%
MemoraOS forced to hybrid retrieval 38.1% [19.1, 57.1] 50% 0% 28.6% 100%
MemoraOS 100% [100, 100] 100% 100% 100% 100%

A retriever sees ten near-identical sentences and cannot know which is current. MemoraOS orders facts by effective date, so the three question types are three different queries over the same facts. Forcing it back to plain retrieval removes the advantage, so the gain comes from the temporal fact engine, not the search primitives. Small set, one fact family, templated sentences: this checks the mechanism on real dates, not general superiority.

2. Real documentation: precision against recall

benchmarks/real_docs.py · the project's own docs (26 files, 126 sections, used as written) · 46 answerable + 18 unanswerable questions, a dev set and a held-out set written before any fix · integrity checks abort the run if a gold answer is missing from the corpus, an "unanswerable" term is present, or a question is quoted in the corpus.

System All 64 [95% CI] Answerable answered (46) Unanswerable refused (18) Held-out (22) Evidence tokens
Hybrid RAG 57.8% [45.3, 68.8] 80.4% 0% 54.5% 718
Hybrid RAG + abstention gate 65.6% [54.7, 76.6] 80.4% 27.8% 63.6% 659
MemoraOS (default) 59.4% [46.9, 71.9] 54.3% 72.2% 50.0% 169
MemoraOS, looser min_anchor_coverage=0.25 67.2% [54.7, 78.1] 73.9% 50.0% 59.1% 230

The systems fail in opposite ways: RAG answers almost everything, including questions the documents never address; MemoraOS answers less and is wrong less. Neither dominates, so the position on that curve is a published setting (min_anchor_coverage), not a hidden one. Every answer here is an extractive passage, and five of the 18 unanswerable questions were still wrongly answered (the list).

The benchmark found real bugs. MemoraOS scored 35.7% on the dev set the first time. Diagnosing it with explain() exposed a negation guard that dropped whole sections, answers limited to one sentence, an over-strict attribute guard, a mis-routed temporal cue and mid-sentence chunk overlap, several of them regressions from earlier v0.2 work. Each has a regression test (tests/unit/test_real_text_regressions.py) and the dev score went 35.7% → 64.3% (held-out 50.0% → 50.0%). The temporal benchmark then found two more (a version-qualified subject matching the unqualified subject's facts, and a passage without the named version still answering). A later fix made the stemmer treat rotate and rotates as one word (pip install memoraos users hit it on the first try); on this benchmark it won two answerable questions and lost one, and two unanswerable questions that used to be refused by accident (require did not match required) are now answered. All listed in docs/RETRIEVAL.md.

3. Synthetic suite: a regression guard, saturated

python -m benchmarks.run · 19 generated scenarios × 3 seeds · digest fca60a1fe780.

MemoraOS scores 100% in every scenario, and the RAG baselines score 58-65%. Because the same authors wrote the datasets and the system, a perfect score means the suite no longer discriminates; it still fails loudly when a mechanism regresses, and it is how the temporal, update, contradiction, multi-hop and abstention mechanisms are checked. It is not evidence of general superiority, which is why the two real-data benchmarks above exist. Scenario heatmap, degradation curve and cost chart: REPORT.md.

The accuracy has a price: more work per write and per query, and a larger store on small texts. Absolute timings vary by machine; read the ratios in the report.

4. Public datasets: retrieval only, and plain BM25 is as good

benchmarks/public.py runs the independent LoCoMo and LongMemEval datasets (downloaded locally, not redistributed) through the same retrievers. It scores whether the gold evidence turn or session is in the top-k, with no answer generation, so it is not comparable to published QA scores.

System LoCoMo any-hit@5 / @10 (1,532 questions) LongMemEval-S session hit@5 / @10 (60-question sample)
BM25 60.3% / 67.7% 91.7% / 96.7%
Vector (hashing) 45.5% / 53.1% 85.0% / 85.0%
Hybrid RAG 54.0% / 62.3% 88.3% / 91.7%
MemoraOS retriever 55.4% / 63.6% 86.7% / 93.3%
MemoraOS recall() (short answer-oriented list, not a ranked top-k) 43.3% / 47.3% 50.0% / 51.7%

MemoraOS's retriever beats hybrid RAG on LoCoMo (paired, k=5: 35 questions won vs 13 lost, exact sign test p = 0.002) but does not beat plain BM25 on either dataset. The temporal and abstention advantages above do not show up when a benchmark only asks for retrieval. Neural embedders were not run here. Details, caveats and the LoCoMo licence (CC BY-NC 4.0): docs/PUBLIC_BENCHMARKS.md.

Not measured: the optional LLM extractor on a real model, neural embedders on the public sets, rerankers, and every external system (Mem0, Graphiti, Hindsight, Memorilla); a sourced capability comparison is in docs/COMPETITIVE_INTELLIGENCE.md. The default embedder is lexical feature hashing. Method and scoring rules: docs/BENCHMARK_METHODOLOGY.md.

How it works

Architecture

One engine sits behind every interface (Python, REST, MCP, CLI, TypeScript SDK, dashboard). Writes go through redaction, chunking, classification, grounded fact/entity/date extraction, deduplication and cached embedding. Reads go through query analysis, the router, one or more retrieval strategies and the truth engine, and end either in an answer with evidence or in insufficient_evidence. Everything persists in a single SQLite file. Details, schema and risk register: docs/ARCHITECTURE.md.

Adaptive routing

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 memoraos

References

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

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229