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

@frontmcp/plugin-remember

Latest version: v1.13.0-rc.2

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: davidfrontegg, davidmantoon
154 Stars
8 Forks
56 Versions
6.6K Downloads
TypeScript Repo language

Scan summary

@frontmcp/plugin-remember was last scanned on 26 Nov 2026 at version 1.13.0-rc.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 56 versions; the latest 3 were published within 3 days (24–26 Nov 2026).
  • Findings: No rules fired in version 1.13.0-rc.2.
  • Downloads: 6,595 downloads.

Versions

56 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.13.0-rc.2 LATEST 26 Nov 2026 No rules fired
1.13.0-rc.1 26 Nov 2026 No rules fired
1.12.3 24 Nov 2026 No rules fired
1.12.2 14 Nov 2026 Not shown
1.12.1 13 Nov 2026 Not shown

No rules fired in 1.13.0-rc.2

Findings

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

README

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

@frontmcp/plugin-remember

Gives the tools of a FrontMCP server a small encrypted key-value memory, this.remember, so a tool can store something on one call and read it on a later one: a user's language, a draft, the last record they opened. Values are encrypted before they're stored, in memory, Redis or Vercel KV. Each value lives in a scope (session, user, tool or global) that decides who can read it back. Turn on tools.enabled and the plugin also gives the model four tools to remember things itself.

npm License

Install

npm install @frontmcp/plugin-remember

The plugin runs inside a FrontMCP server, so your app needs @frontmcp/sdk, at the same version as this package, and Node.js 24 or later. Its peer dependency @frontmcp/lazy-zod comes with the SDK.

For the Vercel KV store (type: 'vercel-kv', or 'global-store' with a Vercel KV provider), also install the optional peer @vercel/kv. The Redis stores use ioredis, which is already a dependency.

Usage

Register the plugin with RememberPlugin.init() in the plugins of @FrontMcp (every app) or of one @App (that app only). Importing the package also tells TypeScript about this.remember.

import { RememberPlugin } from '@frontmcp/plugin-remember';
import { App, FrontMcp, Tool, ToolContext, z } from '@frontmcp/sdk';

@Tool({
  name: 'set_language',
  description: 'Set the language the user wants answers in',
  inputSchema: { language: z.string() },
})
class SetLanguageTool extends ToolContext {
  async execute({ language }: { language: string }) {
    await this.remember.set('language', language, { scope: 'user' });
    return { language };
  }
}

@Tool({ name: 'get_language', description: 'The language the user wants answers in', inputSchema: {} })
class GetLanguageTool extends ToolContext {
  async execute() {
    const language = await this.remember.get('language', { scope: 'user', defaultValue: 'en' });
    return { language };
  }
}

@App({ id: 'preferences', name: 'Preferences', tools: [SetLanguageTool, GetLanguageTool] })
class PreferencesApp {}

@FrontMcp({
  info: { name: 'assistant', version: '1.0.0' },
  apps: [PreferencesApp],
  plugins: [RememberPlugin.init({ type: 'memory' })],
})
export default class Server {}

user scope needs a signed-in caller. An anonymous caller is refused with RememberIdentityError; see Scopes.

Options

Every option is optional. RememberPlugin.init() and plugins: [RememberPlugin] both keep values in memory.

Option Type Default Description
type 'memory' \| 'redis' \| 'redis-client' \| 'vercel-kv' \| 'global-store' 'memory' Where values are kept. See Stores.
keyPrefix string 'remember:' Starts every key in the store. Give each server its own when several share a Redis.
defaultTTL number (seconds) How long a value set without ttl lives. A whole number; 0 means no default expiry.
encryption.enabled boolean true Encrypt values before they're stored. With false, values are stored as plain JSON.
encryption.customKey string The secret keys are derived from, in place of REMEMBER_SECRET. See Encryption.
config { host, port, password?, db? } With type: 'redis': where to connect.
client Redis (ioredis) With type: 'redis-client': a client you created.
url, token string KV_REST_API_URL, KV_REST_API_TOKEN With type: 'vercel-kv': the store's REST URL and token.
tools.enabled boolean false Register the memory tools.
tools.prefix string Starts the memory tools' names: 'memory_' gives memory_recall, and so on.
tools.allowedScopes RememberScope[] all four Which scopes the memory tools accept. Another scope fails with RememberScopeNotAllowedError.
skipLegacyPurge boolean false Don't delete entries written by older versions of the plugin, whose keys can no longer be read.
legacyPurgeDelayMs number 86400000 (24 hours) How long after the current key layout first reached the store to wait before that purge.
Stores
type Where values live
'memory' A Map in the server's process. Lost on restart, and not shared between instances.
'redis' A Redis server the plugin connects to with config.
'redis-client' Your own ioredis client, in client.
'vercel-kv' Vercel KV, through @vercel/kv.
'global-store' The store in @FrontMcp({ redis }): Redis, or Vercel KV. Without redis, the server doesn't start.

A browser build (create() in a web page, WebMCP) has no TCP socket for Redis: there 'redis' and 'redis-client' throw BrowserStoreUnavailableError from init(), and 'global-store' on a Redis redis throws it when the server starts, before anything connects. The message names type: 'memory'. Vercel KV, over HTTPS, is allowed.

this.remember

this.remember is available in tools, resources, prompts and agents. Every method takes a scope option, which defaults to 'session'.

Method Returns Description
set(key, value, options?) Promise<RememberEntry> Stores a JSON-serializable value. Options: scope, ttl (seconds), brand, metadata.
get(key, options?) Promise<T \| undefined> The value, or options.defaultValue when there is none or it expired.
getEntry(key, options?) Promise<RememberEntry \| undefined> The value with its brand, metadata, createdAt, updatedAt and expiresAt.
update(key, value, options?) Promise<boolean> Replaces the value, keeping its metadata, and its expiry unless you pass ttl. false when there's nothing to update.
knows(key, options?) Promise<boolean> Whether get() would find a value.
forget(key, options?) Promise<void> Deletes the value.
list(options?) Promise<string[]> The keys in a scope. options.pattern filters them with * and ?.

this.get(RememberAccessorToken) returns the same accessor, and this.tryGet(RememberAccessorToken) returns it or undefined where the plugin isn't installed.

Scopes

Scope Who can read a value back
session (default) The same session, as the server verified it. Without a verified session, the same signed-in caller.
user The same signed-in caller, across sessions.
tool The same caller as session, and only from the tool that stored it.
global Every caller.

A scope with no caller to keep values apart throws RememberIdentityError: user scope for an anonymous caller, and session or tool scope for an anonymous caller without a verified session. Under MCP 2026-07-28, which has no sessions, session values belong to the signed-in caller and last across all their requests, so give conversation-sized state a ttl.

Encryption

With encryption on (the default), each value is encrypted with AES-256-GCM, with a key derived (HKDF-SHA256) from a server secret and the scope's identity. The server secret is encryption.customKey when you set it, otherwise:

  1. REMEMBER_SECRET, MCP_MEMORY_SECRET or MCP_SESSION_SECRET from the environment.
  2. Outside production (NODE_ENV isn't production): a secret the plugin generates and saves to .frontmcp/remember-secret.json. Keep .frontmcp/ out of version control.
  3. In production: a random secret for this process, with a warning. Values can't be read after a restart, or by another instance.

Set REMEMBER_SECRET, or encryption.customKey, to the same value on every instance that shares a store.

Memory tools

With tools.enabled: true, the plugin registers four tools, named with tools.prefix if you set one:

Tool Arguments
remember_this key, value, scope?, ttl?, brand?
recall key, scope?
forget key, scope?
list_memories scope?, pattern?, limit? (default 50, at most 100)

Their scope is session (the default), user or global. They don't offer tool scope: it belongs to the tool that runs the call, so recall would never find what remember_this stored there. Up to 1.11.2 they accepted it.

The package also exports their classes, RememberThisTool, RecallTool, ForgetTool and ListMemoriesTool, to list in an app's tools yourself. Use one way or the other, not both.

Docs

Related packages

Contributing

Source: plugins/plugin-remember. Issues and pull requests are welcome; see CONTRIBUTING.md.

License

Apache-2.0. See LICENSE.

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 @frontmcp/plugin-remember

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

Vulnerability Insights

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

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

Frame 2085668439 (1)
Group 1261154229