@ooples/token-optimizer-mcp@7.4.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 14d ago · by lpm-firewall-aiThe harvest uses existing API credentials in requests to an operator-configurable endpoint, and remote harvesting is enabled by default when a key is available. This warrants a warning for conditional credential exposure; the inspected install hook does not establish an unconsented machine-wide configuration change.
Decision evidence
public snapshot- The harvest reads an API key from TOKEN_OPTIMIZER_API_KEY or ANTHROPIC_API_KEY.
- The harvest sends requests to a configurable endpoint and attaches the credential in an authorization header based on endpoint dialect.
- Remote harvesting is enabled by default when a key is present, unless opted out.
- The package's postinstall runs setup only when TOKEN_OPTIMIZER_AUTO_INSTALL is enabled; otherwise it reports that no machine changes were made.
- The default harvest endpoint is Anthropic's Messages API, and the HTTP request is only made when the harvesting path runs.
- The credential exposure risk depends on the user configuring a remote endpoint that is not bound to the credential's intended service.
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.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.4.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.