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

codemem

Latest version: v0.50.0-beta.1

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: kunickiaj
83 Stars
14 Forks
42 Versions
5.3K Downloads
TypeScript Repo language

Scan summary

codemem was last scanned on 25 Nov 2026 at version 0.50.0-beta.1. Risk score 0 of 100. High-severity rules fired.

  • Releases: 42 versions; the latest was published on 25 Nov 2026.
  • Findings: 1 rule fired in version 0.50.0-beta.1 (1 high). The score describes this version only.
  • Downloads: 5,299 downloads.

Versions

42 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.50.0-beta.1 LATEST 25 Nov 2026 1 rule fired
0.49.0 15 Nov 2026 1 rule fired
0.49.0-beta.7 14 Nov 2026 1 rule fired
0.49.0-beta.5 13 Nov 2026 Not shown
0.49.0-beta.4 13 Nov 2026 Not shown

Rules fired in 0.50.0-beta.1: 1

Findings

1 High

Findings for v0.50.0-beta.1. 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.

Several suspicious behaviors form a known attack pattern

Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0.50.0-beta.1; other versions have their own rules, not their own score.

README

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

codemem

Persistent memory for AI coding agents — local-first SQLite storage, hybrid retrieval, automatic OpenCode and Pi injection, and optional peer-to-peer sync.

This is the published npm package for the codemem CLI.

Install

Prerequisites: Node.js 24.15+ and npm. Native database support covers macOS x64/arm64, Linux x64/arm64 (glibc 2.34+ or musl), and Windows x64. 32-bit targets, including Linux armv7, are not supported.

On Linux, skip the unused ONNX Runtime GPU provider download:

env ONNXRUNTIME_NODE_INSTALL=skip npm install -g codemem

On Apple silicon macOS and Windows:

npm install -g codemem

The CLI installs its matching embedding runtime by default. For a smaller keyword-only install, use npm install -g codemem --omit=optional and set CODEMEM_EMBEDDING_DISABLED=1 in every Codemem process. The flag is required because npm also omits sqlite-vec's optional platform package; the CLI then remains functional with FTS5.

Intel x64 Macs have no ONNX Runtime 1.24.3 artifact and remain on FTS5 retrieval.

Or run without installing:

npx -y codemem memory stats

Quick commands

codemem --help
codemem setup --opencode-only
codemem setup --pi-only
codemem memory stats
codemem memory search "query"
codemem memory context "investigate the retry regression"
codemem memory context trace "investigate the retry regression"
codemem memory distill --limit 10
codemem service start
codemem mcp

memory context <task> prints prompt-ready memory text. Add --json for the structured pack response and its metrics. It supports the pack retrieval and rendering flags, including --compact and --compression-mode. memory pack remains available as a hidden compatibility entrypoint for installed integrations and Pi callers.

Documentation

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 codemem

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Copy of Template Design OX Blog (1)
Research

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

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