@ooples/token-optimizer-mcp@7.4.3
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 12d ago · by lpm-firewall-aiRemote harvesting can forward an existing Anthropic credential to an unrestricted configured endpoint, creating conditional credential exposure. The user can opt out, and no source evidence establishes a package-controlled recipient or concealed theft.
Decision evidence
public snapshot- The harvest endpoint can be set through TOKEN_OPTIMIZER_HARVEST_ENDPOINT.
- For a remote Anthropic-format endpoint, credentialFor falls back to ANTHROPIC_API_KEY when no package-specific key is set.
- The HTTP request sends that credential in the x-api-key header to the selected endpoint.
- A configured key activates remote harvesting unless the user opts out; the worker sends a digest containing prompts, file paths, commands, and conclusions.
- Full transcript deltas require a separate opt-in; the default digest omits tool results and file contents.
- The postinstall hook requires TOKEN_OPTIMIZER_AUTO_INSTALL=1 before installing CLI integrations.
- Local endpoints and OpenAI-format endpoints do not receive the ambient Anthropic key through credentialFor.
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.3.
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.3 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.