AI Security Review
scanned 5h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. This is an AI-agent extension that automatically registers compaction hooks and persists conversation-derived summaries in its own state directory. Its optional dashboard is started by an explicit command and is loopback-only. No confirmed exfiltration or foreign agent-control mutation was found.
Decision evidence
public snapshot- `package.json` declares Pi/OpenClaw extension entrypoints.
- `extensions/openclaw-mega-compact.ts` registers compaction hooks and tools that receive agent context.
- `src/config.ts` and `src/store.ts` persist compacted context under `.pi/agent/extensions`.
- `extensions/mega-dashboard-cmds.ts` can spawn a detached local dashboard server on a user command.
- `src/dedup/raptor/summarizer.ts` sends message text to a user-configured Ollama endpoint, guarded to loopback.
- `package.json` postinstall only rebuilds `@mongodb-js/zstd`; no agent-control mutation.
- No remote endpoints found; all fetches are localhost/127.0.0.1.
- `extensions/dashboard-server.ts` binds only `127.0.0.1` ports 9320–9329.
- No credential harvesting, remote payload download, eval, or foreign config writes found.
- `extensions/conflict-scan.ts` explicitly reads other extensions only to detect and report conflicts.
Source & flagged code
8 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/extensions/mega-dashboard-cmds.jsView on unpkgPackage source references child process execution.
dist/extensions/mega-dashboard-cmds.jsView on unpkg · L10Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/extensions/mega-dashboard-cmds.jsView on unpkg · L10Package source references dynamic require/import behavior.
dist/extensions/mega-dashboard-cmds.jsView on unpkg · L80A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/src/dedup/raptor/summarizer.jsView on unpkg · L13Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/src/dedup/raptor/summarizer.jsView on unpkg · L58