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

@rohirik/pi-ltm

Latest version: v2.24.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: rohirik
30 Stars
2 Forks
22 Versions
872 Downloads
TypeScript Repo language

Scan summary

@rohirik/pi-ltm was last scanned on 29 Nov 2026 at version 2.24.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 22 versions; the latest 2 were published within 4 days (26–29 Nov 2026).
  • Findings: No rules fired in version 2.24.1.
  • Downloads: 872 downloads.

Versions

22 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.24.1 LATEST 29 Nov 2026 No rules fired
2.24.0 26 Nov 2026 No rules fired
2.22.2 29 Oct 2026 No rules fired
2.22.1 28 Oct 2026 Not shown
2.22.0 28 Oct 2026 Not shown

No rules fired in 2.24.1

Findings

Findings for v2.24.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.

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

README

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

@rohirik/pi-ltm

OpenLTM long-term memory extension for the Pi coding agent. Shares the local memory database with Claude Code and OpenCode.

Install

pi install npm:@rohirik/pi-ltm

If Pi is already running, use /reload to load the extension. Pi records the package in ~/.pi/agent/settings.json; use pi install --local npm:@rohirik/pi-ltm for a project-scoped install.

Find the extension in the Pi package catalog. The npm package declares the pi-package discovery keyword and a pi.extensions manifest pointing to its compiled entrypoint.

Requirements

Install Bun and make it available on PATH. Pi loads the extension under Node; the extension runs OpenLTM's core MCP server in a Bun child process, avoiding direct Node imports of bun:sqlite. The core package is installed as a dependency.

What it does

  • Registers the memory tools returned by OpenLTM's core MCP server, including recall, learn, forget, project context, and memory relationships.
  • On Pi's before_agent_start event, waits for the core connection and appends relevant project memories as a ## Prior Knowledge (LTM) block.
  • Uses a local SQLite database shared with the other OpenLTM adapters. If Bun or the core server cannot be found, the extension currently skips registration.

The current Pi adapter does not register a compaction hook.

Shared memory

When the Claude Code plugin is installed, Pi uses its database, so both agents share memories:

~/.claude/plugins/data/openltm-OpenLtm/openltm.db

(An older install's OpenLtm-openltm/openltm.db is used if that is the one that exists.)

Override it before starting Pi:

export LTM_DB_PATH="/custom/path/openltm.db"

A memory learned in Pi is available to another OpenLTM adapter using the same database.

Semantic recall with llama.cpp

Recall works out of the box with SQLite full-text search. For semantic recall, run a local llama.cpp embedding server; OpenLTM uses it by default when it is reachable, and no API key is needed:

llama-server -m bge-m3.gguf --embeddings --pooling mean --port 8080

Defaults are LTM_LLAMA_CPP_URL=http://127.0.0.1:8080 and LTM_EMBED_MODEL=bge-m3; export either before starting Pi to change it. If the server is not running, recall stays on full-text search and memory text is not sent anywhere. Use the same model as the other adapters that share the database, since vectors from different models are not comparable.

Recalled memories are wrapped in a <recalled-memory> block that marks them as context from earlier sessions, not instructions.

Privacy and license

Memory is stored locally. Optional embedding or janitor providers can send memory content to the provider you configure; see the repository's security notes. MIT licensed.

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 @rohirik/pi-ltm

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

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?

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

Frame 2085668439 (1)
Group 1261154229