@ooples/token-optimizer-mcp@7.5.1
Audit net MCP context avoided per AI coding agent, optimize context, and share a live local knowledge graph across 16 CLI clients
AI Security Review
scanned 8d ago · by lpm-firewall-aiSource inspection confirms a conditional runtime transfer of prompt and command metadata to a model endpoint, enabled by default when an API key is present and disabled by an opt-out. Because hook activation requires setup outside an ordinary npm install and the default digest excludes tool results and file bodies, this supports a warning rather than a publication block.
Decision evidence
public snapshot- The npm postinstall hook starts integration setup only when TOKEN_OPTIMIZER_AUTO_INSTALL is enabled.
- The installer registers hooks when the install CLI is run.
- After an edited session, the Stop hook starts a worker that proceeds when a transcript exists and harvesting is enabled.
- The default digest includes user prompts and commands; raw transcript mode is separately opt-in.
- Harvesting is disabled by an explicit opt-out; otherwise a configured API key enables remote mode.
- The worker sends the digest in a POST request to the configured endpoint, which defaults to Anthropic’s Messages API.
- A regular npm install does not by itself activate the hooks; the lifecycle setup requires an environment opt-in or a separate install command.
- The default digest omits tool results and file bodies, and the endpoint is configurable.
Source & flagged code
15 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.
hooks-core/skeleton.mjsView on unpkg · L29Findings
Affected versions and remediation
This report applies to @ooples/token-optimizer-mcp@7.5.1.
See all versions of @ooples/token-optimizer-mcp for other recorded verdicts.
- Review the evidence and your use of @ooples/token-optimizer-mcp@7.5.1 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.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.