@ooples/token-optimizer-mcp@7.4.2
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 14d ago · by lpm-firewall-aiThe configurable harvest endpoint can receive an ambient Anthropic credential without a destination allowlist, creating conditional credential exposure. Harvest execution is gated, and the source does not establish a package-controlled unrelated recipient or a malicious install action.
Decision evidence
public snapshot- hooks-core/harvest.mjs accepts a caller-configurable endpoint and forwards ANTHROPIC_API_KEY to nonlocal Anthropic-dialect destinations.
- The harvest sends its digest in an HTTP POST; extraction proceeds only when harvestEnabled() is true.
- scripts/postinstall.cjs requires TOKEN_OPTIMIZER_AUTO_INSTALL before invoking setup.
- hooks-core/harvest.mjs describes raw transcript transmission as opt-in; its default is a structured digest.
- The postinstall script’s automatic setup is explicitly gated by TOKEN_OPTIMIZER_AUTO_INSTALL.
Source & flagged code
13 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.2.
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.2 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.