@ooples/token-optimizer-mcp@7.4.4
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 10d ago · by lpm-firewall-aiNormal installation does not change agent configuration, but the explicit installer can register package-owned hooks that run in later agent sessions. This fits the warning policy for first-party agent extension setup; the inspected source does not support a publish block.
Decision evidence
public snapshot- package.json declares a postinstall hook, but scripts/postinstall.cjs runs the installer only when TOKEN_OPTIMIZER_AUTO_INSTALL is explicitly enabled; its ordinary install path reports no outside changes.
- The named installer commands can write hooks to agent settings or copy package-owned hook files into a selected client hook directory.
- The inspected integration targets identify package-owned hook locations, configuration routing, plugin discovery, and an uninstall path requiring --apply.
- The semantic harvest sends a bounded digest of session information to its configured model endpoint; the README discloses that remote harvest is not opt-in and can be disabled.
- The flagged doctor location is a process watchdog, and the flagged fetch uses a supplied URL with SSRF checks and cross-origin credential stripping.
- The other flagged sources implement a CLI wrapper, managed-policy inspection, local session-file discovery, and graph restoration; the restore file begins with a byte-order mark followed by ordinary source.
- A plain npm install does not activate the agent configuration changes; activation requires a named command or explicit environment opt-in.
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.4.4.
See all versions of @ooples/token-optimizer-mcp for other recorded verdicts.
- Review the evidence and your use of @ooples/token-optimizer-mcp@7.4.4 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.