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

@amaster.ai/pi-storage

Latest version: v0.1.42

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: 2betop, licy_mail, lmaomaoz, qianchuan, thornhill, weaxs, xiaojiaolv, xudong.ray
97 Stars
19 Forks
75 Versions
4.7K Downloads
TypeScript Repo language

Scan summary

@amaster.ai/pi-storage was last scanned on 27 Nov 2026 at version 0.1.42. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 75 versions; the latest 5 were published within 5 days (23–27 Nov 2026).
  • Findings: No rules fired in version 0.1.42.
  • Downloads: 4,685 downloads.

Versions

75 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.42 LATEST 27 Nov 2026 No rules fired
0.1.2-beta.99 26 Nov 2026 No rules fired
0.1.41 26 Nov 2026 No rules fired
0.1.2-beta.98 26 Nov 2026 Not shown
0.1.2-beta.97 23 Nov 2026 Not shown

No rules fired in 0.1.42

Findings

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

README

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

@amaster.ai/pi-storage

Runtime persistence adapters for pi.

This package owns the storage boundary for sessions, transcripts, memory, runtime events, subagent runs, and artifact metadata. It includes local JSON-file adapters for development and desktop use, plus MySQL/Prisma adapters for platform deployments.

Entry Points

  • @amaster.ai/pi-storage: stable contracts and the createRuntimeStorage factory.
  • @amaster.ai/pi-storage/json: JSON-file adapter classes.
  • @amaster.ai/pi-storage/db: DB adapter factory and migration runner.
  • @amaster.ai/pi-storage/internal: internal helpers used by this monorepo. These are not part of the stable public API.

Local JSON Storage

import { createRuntimeStorage } from "@amaster.ai/pi-storage";

const storage = createRuntimeStorage({
  mode: "json",
  agentDir: ".pi",
  eventLimits: {
    runtimeEvents: 1000,
    toolEvents: 1000,
    llmGenerationEvents: 1000,
  },
});

DB Storage

import { createRuntimeStorage } from "@amaster.ai/pi-storage";
import { runDbMigrations } from "@amaster.ai/pi-storage/db";

await runDbMigrations({
  databaseUrl: process.env.DATABASE_URL!,
  redisUrl: process.env.REDIS_URL!,
});

const storage = createRuntimeStorage({
  mode: "db",
  agentDir: ".pi",
  databaseUrl: process.env.DATABASE_URL,
  redisUrl: process.env.REDIS_URL,
  eventLimits: {
    runtimeEvents: 1000,
    toolEvents: 1000,
    llmGenerationEvents: 1000,
  },
});

Session metadata is an optional JSON object preserved across saves and reads by both adapters. DB reads ignore missing or malformed metadata.

Public API Policy

Types and contracts live in @amaster.ai/pi-shared and are re-exported from the root storage entry point. Concrete adapters are exposed through explicit subpath entry points so applications can depend on the smallest stable surface they need.

Failure diagnostics

JSON stores use a valid backup when the primary is malformed and log that recovery. If recovery is unavailable, reads fail rather than initializing an empty store and risking replacement of existing data.

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 @amaster.ai/pi-storage

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 (1)
Research

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

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

Frame 2085668439 (1)
Group 1261154229