AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. This is a first-party pi/OpenClaw extension with automatic compaction hooks and local persistence. Optional commands launch a loopback dashboard; opt-in local model integrations receive compacted text.
Decision evidence
public snapshot- `extensions/mega-compact.ts` registers automatic pi lifecycle handlers.
- `extensions/openclaw-mega-compact.ts` registers a compaction provider, hooks, and recall tools.
- `extensions/mega-dashboard-cmds.ts` can spawn a detached local dashboard after an explicit slash command.
- `src/dedup/raptor/summarizer.ts` sends conversation text to an opt-in local Ollama endpoint.
- `package.json` postinstall only rebuilds `@mongodb-js/zstd`; it has no agent-config mutation.
- `src/dedup/raptor/summarizer.ts` rejects non-loopback Ollama URLs.
- `src/httpEmbedder.ts` rejects non-loopback embedding endpoints.
- `extensions/dashboard-server.ts` binds only `127.0.0.1`.
- No remote endpoint, credential exfiltration, payload download, or import-time shell execution was found.
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 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 · L58This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/src/store/sqlite.jsView on unpkg