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

@theokit/memory-supermemory

Latest version: v3.0.11

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: usetheodev
3 Stars
1 Forks
9 Versions
49 Downloads
TypeScript Repo language

Scan summary

@theokit/memory-supermemory was last scanned on 23 Nov 2026 at version 3.0.11. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest 4 were published within 2 days (22 and 23 Nov 2026).
  • Findings: No rules fired in version 3.0.11.
  • Downloads: 49 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
3.0.11 LATEST 23 Nov 2026 No rules fired
3.0.10 23 Nov 2026 No rules fired
3.0.9 23 Nov 2026 No rules fired
3.0.8 22 Nov 2026 Not shown
3.0.4 4 Sep 2026 Not shown

No rules fired in 3.0.11

Findings

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

README

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

@theokit/memory-supermemory

Supermemory memory adapter for @theokit/sdk.

Wraps supermemory@^4 (zero-dep, MIT-licensed, native fetch) with the MemoryAdapter contract from ADR D141.

Install

pnpm add @theokit/memory-supermemory supermemory

Usage

import { Agent } from "@theokit/sdk";
import { supermemoryMemory } from "@theokit/memory-supermemory";

const agent = await Agent.create({
  apiKey: process.env.OPENROUTER_API_KEY,
  model: { id: "openai/gpt-4o-mini" },
  local: {},
  plugins: [supermemoryMemory({ apiKey: process.env.SUPERMEMORY_API_KEY! })],
  memoryContext: { userId: "demo" },
});

// Direct API
await agent.memory.write("User likes Brazilian jazz", { userId: "demo" });
const facts = await agent.memory.recall("music preferences", { userId: "demo" });

// LLM-driven via tool schemas (registered automatically when toolSchemas: true)
await agent.send("What music does the user enjoy?");

Options

Field Type Default Description
apiKey string — Supermemory API key. Required.
baseUrl string Supermemory cloud Override for self-hosted deployments.
containerTagPrefix string "theokit" Prefix for every container tag. Useful for test isolation.

Container tag scheme

Every memory write is tagged with:

  • ${prefix}:user:${userId} (always)
  • ${prefix}:agent:${agentId} (when set)
  • ${prefix}:tenant:${tenantId} (when set)
  • ${prefix}:tag:${tag} (one per entry in ctx.tags)

Each component is sanitized against ^[a-zA-Z0-9_-]+$ (EC-C) — values containing : or whitespace throw MemoryAdapterError(code: "invalid_input") at the boundary, before any HTTP call.

Multi-tenant accumulation (EC-S)

Calling agent.memory.write writes durable data to Supermemory tied to the supplied userId. In bot/CI scenarios where the same userId is reused across runs, set a unique containerTagPrefix per test:

supermemoryMemory({
  apiKey,
  containerTagPrefix: `theokit-test-${Date.now()}`,
})

Failure modes

HTTP status Maps to isRetryable
401 / 403 MemoryAdapterError(code: "auth_failed") false
429 MemoryAdapterError(code: "rate_limited") true
404 MemoryAdapterError(code: "not_found") false
Network/timeout MemoryAdapterError(code: "network") true
Other MemoryAdapterError(code: "unknown") false

API reference

Every symbol this package exports, with the exact specifier to import it from, is in the generated capability map that ships inside @theokit/sdk:

node_modules/@theokit/sdk/docs/harness-capability-map.md   # symbol -> import specifier
node_modules/@theokit/sdk/docs/error-codes.md              # every `code` an error can carry

Both are generated from the built type declarations, so they describe the version you installed rather than the version someone wrote a page about.

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 @theokit/memory-supermemory

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

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Vulnerability Insights

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

Frame 2085668439 (1)
Group 1261154229