---
canonical: "https://firewall.lpm.dev/npm/openclaw-hybrid-memory/v/2026.7.225"
markdown: "https://firewall.lpm.dev/npm/openclaw-hybrid-memory/v/2026.7.225.md"
package: "openclaw-hybrid-memory"
report_status: "published"
title: "openclaw-hybrid-memory@2026.7.225 npm security report"
verdict: "suspicious"
version: "2026.7.225"
---

# openclaw-hybrid-memory@2026.7.225 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Flagged as agent extension risk** — Allowed by default with warning: install-time first-party agent extension setup was detected.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only agent extension risk
- **Public report status:** Published
- **Threat category:** Agent extension lifecycle risk
- **Selected version:** 2026.7.225
- **Selected version is latest:** No
- **Analysis source:** AI security review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The package has real install and OpenClaw lifecycle capabilities, so it warrants a warning. Their scoped, documented, and user-command-gated behavior does not establish malicious intent.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 86.0%
- **Started:** 2026-07-25T22:19:10.605Z
- **Finished:** 2026-07-25T22:19:54.060Z
- **Download time:** 762 ms
- **Static scan time:** 8823 ms
- **AI review time:** 33869 ms
- **Total time:** 43455 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** Install-time code repairs native dependencies, and explicit OpenClaw CLI commands can install/upgrade the first-party extension or schedule backups. No unconsented mutation of a foreign or broad AI-agent control surface was confirmed.

- **Trigger:** npm postinstall; user-invoked hybrid-mem upgrade or backup schedule

- **Impact:** Can modify this package's dependencies and, when explicitly invoked, OpenClaw plugin/cron state.

- **Evidence paths:** package.json, scripts/postinstall-rebuild.cjs, dist/cli/install/upgrade-config-preflight.js, dist/cli/commands/manage/register-procedure-lifecycle.js, dist/services/skill-validator.js

- **Review source:** ai\_review

- **Reviewed:** 2026-07-25T22:19:54.060Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** native dependency rebuild and first-party OpenClaw extension lifecycle management

- **Rationale:** The package has real install and OpenClaw lifecycle capabilities, so it warrants a warning. Their scoped, documented, and user-command-gated behavior does not establish malicious intent.

- **Files touched:** scripts/postinstall-rebuild.cjs, node\_modules/@lancedb/lancedb, node\_modules/apache-arrow, dist/cli/install/upgrade-config-preflight.js, dist/cli/commands/manage/register-procedure-lifecycle.js

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 86.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** package.json runs postinstall, scripts/postinstall-rebuild.cjs invokes npm install/rebuild, dist/cli/install/upgrade-config-preflight.js runs npx installer, dist/cli/commands/manage/register-procedure-lifecycle.js can add a crontab entry

- **Evidence against:** Postinstall is limited to declared LanceDB/Arrow dependency repair, npm install uses --ignore-scripts; no credential collection found, Upgrade and cron mutations require explicit CLI commands, skill-validator blocks credentials, shell, network, and unsafe writes in generated skills

## Affected versions and remediation

This report applies to openclaw-hybrid-memory@2026.7.225.

- Review the evidence and your use of openclaw-hybrid-memory@2026.7.225 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/openclaw-hybrid-memory@2026.7.225/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/postinstall-rebuild.cjs
```

### 2. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 3. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%
- **Path:** dist/services/skill-validator.js
- **Public source:** [View source](<https://unpkg.com/openclaw-hybrid-memory@2026.7.225/dist/services/skill-validator.js>)

Package source references a known benign dynamic code generation pattern.

Public source snippet (untrusted):

```javascript
L120: pattern: /* @__PURE__ */ new RegExp("\\beval\\s*[\\(\\$'\"`]", "i"),
L121: description: "eval() or eval$(...) in code block — arbitrary code execution"
L122: },
```

### 4. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/routes/dashboard/collectors.js
- **Public source:** [View source](<https://unpkg.com/openclaw-hybrid-memory@2026.7.225/dist/routes/dashboard/collectors.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L30: const execFile = promisify(execFile$1);
L31: const require = createRequire(import.meta.url);
L32: const VERIFIED_FACT_SET_TTL_MS = 5e3;
```

### 5. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/backends/facts-db/procedures/internal.js
- **Public source:** [View source](<https://unpkg.com/openclaw-hybrid-memory@2026.7.225/dist/backends/facts-db/procedures/internal.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L30: try {
L31: const parsed = JSON.parse(recipeJson);
L32: if (!Array.isArray(parsed) || parsed.length === 0) return false;
```

### 6. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 7. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 8. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/cli/commands/manage/register-procedure-lifecycle.js
- **Public source:** [View source](<https://unpkg.com/openclaw-hybrid-memory@2026.7.225/dist/cli/commands/manage/register-procedure-lifecycle.js>)

Source writes installer persistence such as shell profile or service configuration.

Public source snippet (untrusted):

```javascript
L12: import { mkdirSync, unlinkSync, writeFileSync } from "node:fs";
L13: import { execSync } from "node:child_process";
L14: //#region cli/commands/manage/register-procedure-lifecycle.ts
...
L18: */
L19: /** Quote a path for use in a crontab line so spaces/special chars do not break the shell. */
L20: function shellQuotePathForCron(path) {
...
L96: console.error("error: --limit must be a positive integer");
L97: process.exitCode = 1;
L98: return;
...
L184: if (raw) try {
L185: const parsed = JSON.parse(raw);
L186: if (!Array.isArray(parsed)) throw new Error("expected a JSON array");
```

### 9. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 10. Medium: Protestware
- **Category:** Supply Chain
- **Confidence:** 90.0%

Package source has broad protestware-like patterns that need review.

### 11. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 12. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 13. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** benchmark/offline-qa/clone-sandbox.sh
- **Public source:** [View source](<https://unpkg.com/openclaw-hybrid-memory@2026.7.225/benchmark/offline-qa/clone-sandbox.sh>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = benchmark/offline-qa/clone-sandbox.sh
kind = build_helper
sizeBytes = 1567
magicHex = [redacted]
```

### 14. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 15. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 16. High: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/cli/install/upgrade-config-preflight.js
- **Public source:** [View source](<https://unpkg.com/openclaw-hybrid-memory@2026.7.225/dist/cli/install/upgrade-config-preflight.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = openclaw-hybrid-memory@2026.7.32
matchedIdentity = npm:b3BlbmNsYXctaHlicmlkLW1lbW9yeQ:2026.7.32
similarity = 0.350
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall
- **Dependencies:** 7
- **Optional dependencies:** 2
- **Peer dependencies:** 3
- **Development dependencies:** 8
- **Published dependency-graph edges:** 12

### Published dependency entries
- @lancedb/lancedb ^0.31.0 (Dependency)
- @types/node ^26.1.1 (Dependency)
- apache-arrow 18.1.0 (Dependency)
- commander ^15.0.0 (Dependency)
- franc ^6.2.0 (Dependency)
- graphql ^16.14.0 (Dependency)
- graphql-yoga ^5.21.0 (Dependency)
- @rolldown/binding-linux-x64-gnu ^1.0.0 (OptionalDependency)
- onnxruntime-node ^1.20.0 (OptionalDependency)
- @sinclair/typebox ^0.34.52 (PeerDependency)
- openai ^6.46.0 (PeerDependency)
- openclaw \>=2026.5.0 \<2027 (PeerDependency)

## Package metadata
- **Package:** openclaw-hybrid-memory
- **Ecosystem:** npm
- **Version:** 2026.7.225
- **Version published:** 2026-07-25T22:15:43.620Z
- **Package first seen:** 2026-07-25T22:19:54.060Z
- **Package last seen:** 2026-11-09T11:07:09.772Z
- **Known versions:** 15
- **Latest version:** 2026.8.4
- **Appeal under review:** No
- **Description:** Give your OpenClaw agent lasting memory: structured facts, semantic search, auto-capture & recall, decay, optional credential vault. Part of Hybrid Memory v3.
- **Maintainers:** markus-lassfolk
- **Keywords:** openclaw, plugin, memory, sqlite, lancedb, embeddings
- **Runtime engines:** node: \>=22.16.0
- **Artifact files:** 2718
- **Artifact unpacked size:** 31,683,815 bytes
- **Artifact signatures:** 1
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/openclaw-hybrid-memory/v/2026.7.225>)
- [Repository](<https://github.com/markus-lassfolk/openclaw-hybrid-memory>)
- [Homepage](<https://github.com/markus-lassfolk/openclaw-hybrid-memory#readme>)
- [Issues](<https://github.com/markus-lassfolk/openclaw-hybrid-memory/issues>)
