@ooples/token-optimizer-mcp@7.5.0
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 9d ago · by lpm-firewall-aiThe package does not activate agent hooks during an ordinary install, but its enabled runtime harvester sends session prompts and conclusions remotely by default when an API key is available. This is a real conditional disclosure risk, so warn rather than block.
Decision evidence
public snapshot- The postinstall hook is declared in the manifest, but it installs hooks only when the auto-install environment flag is set; a normal global install reports that nothing changed and directs the user to run the installer.
- The Stop hook starts harvesting only after session edits and a debounce check, then passes the transcript to a detached worker.
- Harvesting uses an existing API key for remote mode unless the user opts out; the default remote endpoint is Anthropic’s Messages API.
- The digest can include user prompts, assistant conclusions, file paths, and commands, while tool results are skipped.
- The harvester sends the digest in a network request to its configured endpoint and attaches the matching API credential when present.
- Other inspected integration locations concern client hook destinations, settings or configuration lookup, plugin diagnosis, uninstall gating, and an API fetch helper; they did not establish a separate authenticated account action.
- The package does not install agent hooks on an ordinary package install; automatic setup requires an explicit environment flag.
- The harvest can be disabled with its opt-out setting, and the inspected digest omits tool results and file contents.
Source & flagged code
14 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.0.
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.0 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.