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

@mnema/chain

Latest version: v0.1.10

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: felipesauer
5 Stars
8 Forks
11 Versions
1.9K Downloads
TypeScript Repo language

Scan summary

@mnema/chain was last scanned on 23 Nov 2026 at version 0.1.10. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 11 versions; the latest 2 were published within 3 days (21–23 Nov 2026).
  • Findings: No rules fired in version 0.1.10.
  • Downloads: 1,938 downloads.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.10 LATEST 23 Nov 2026 No rules fired
0.1.9 21 Nov 2026 No rules fired
0.1.8 11 Nov 2026 No rules fired
0.1.7 9 Nov 2026 Not shown
0.1.6 7 Nov 2026 Not shown

No rules fired in 0.1.10

Findings

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

README

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

The proof engine at the core of mnema: a signed, append-only event log for the work of AI agents. It records what happened as typed, self-contained events and chains them, so that what is still in the log has not changed since it was signed (tamper-evident, not tamper-proof) and a stranger can check that, with or without the private key that signed it.

This package is the part that carries the proof, so it is deliberately small: it has zero runtime dependencies and knows nothing about databases, projections, or the surfaces built on top of it. That isolation is the point: the code you have to trust for tamper-evidence is auditable on its own.

What it gives you

  • A typed event catalog: a closed, versioned discriminated union of every fact the chain may hold, with deterministic canonicalization (event → bytes) and per-kind upcasters so the catalog can grow without rewriting the past. This line used to list four kinds by name (task.created, task.transitioned, run.started, run.ended); the catalog holds many more, and a list in prose is a list that stops being true. canonical-vectors.json carries one frozen event per kind and is total over the catalog by type, so it is the list that cannot fall behind.
  • An append-only chain: each machine writes its own tail (a directory of segments); entries are hash-chained so a changed or reordered event breaks the chain.
  • Signed checkpoints: an Ed25519 signature over a root recomputed from the event content, taken every so many events and chained to the previous one.
  • A verifier: reads every tail, checks the hash chain and the signatures, and reports honestly what is proven and what is not.

What it proves, and what it does not

Being precise about which threats are covered is the whole job of an honest proof engine. Two categories, kept apart because the guarantees differ.

Altering what is there. The local crypto covers this, and covers it without any secret at verify time:

Threat Covered by
Accidental corruption: a truncated write, a flipped byte The hash chain: keyless, always on.
A write lost to a power cut: an event reported as written that never reached the disk Every entry and every checkpoint is synced to the disk (fsync) before the write returns, and so is the directory of a file the write created (durable.test.ts). It costs about 10 ms per write, measured on an NVMe disk with other work on it. The files that name who signs (the key's two halves, the local installation id and the anchor) are synced the same way when they are written; a tail's proof and the key root's ignore file are not.
An edit made without the signing key Ed25519 checkpoints over a content-recomputed root. Editing content and re-chaining the keyless hashes is still caught where the checkpoints remain, because the signed root folds the actual event bytes. Where the checkpoints were taken out, the verdict reads T1 only and says no signature was checked; --require=signed fails it.
An outside audit with only what was committed: no secrets The public key is committed by fingerprint; verification re-derives that fingerprint from the key it loads, so swapping the committed key for another is caught.
An edit made with the signing key Not covered by local crypto, and covered by T3 when a record is stamped. A key holder can rewrite and re-sign, and everything local verifies. What they cannot produce is an attestation dated before they started: witness.ts stores an OpenTimestamps proof over a checkpoint's digest and the Bitcoin block header it lands in, and verify reads both offline. This row used to say the seam was one this package leaves open, never a guarantee it fakes; it is closed for a record somebody stamped, and exactly as open as it ever was for one nobody did. See FORMAT.md §8.

Removing what was there, and trusting who signed. A hash chain proves nothing was changed; it cannot prove nothing was deleted, and it proves the record is self-consistent, not that it is bound to any outside identity. These are the honest gaps. T3 closes the dating half of them (a rebuilt chain has no checkpoint anybody attested yesterday) and closes none of the rest: what a timestamp proves is that a digest existed at an instant, never who else has a copy of the bytes or whose key it really was.

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

  • npm @mnema/chain

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229