@pmate/cli
CLI utilities for the pMate project
This report shows the evidence for @pmate/cli@0.44.6. 2 of 68 known versions are blocked or flagged. The newest version, 0.46.2, is allowed. See all versions.
AI Security Review
scanned 1d ago · by lpm-firewall-aiThe CLI automatically sends a HEBO-labeled credential to the PMate authentication service before handling any command, then persists the returned session token. This is credential exfiltration triggered by CLI startup.
Decision evidence
public snapshot- The package exposes dist/index.js as its CLI entrypoint.
- CLI startup calls ensureManagedSession before parsing arguments, including help and version requests.
- When HEBO_MEMORY_TOKEN is set, the code sends it as a Bearer token to auth-api-v2.pmate.chat.
- The returned session token is written to a temporary pmate-delegated session file.
- The credential flow only runs when HEBO_MEMORY_TOKEN is present.
- The manifest declares no install lifecycle scripts.
Source & flagged code
11 flaggedSource appears to send environment or credential material to an external endpoint.
dist/index.jsView on unpkg · L90A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/index.jsView on unpkg · L90A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/index.jsView on unpkg · L16844Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/index.jsView on unpkgSource combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index.jsView on unpkg · L90A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/index.jsView on unpkg · L90Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/index.jsView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/templates/electron/agent-runtime.cjsView on unpkgFindings
Affected versions and remediation
This report applies to @pmate/cli@0.44.6.
The versions list below shows the verdict for each recorded version.
- Avoid installing @pmate/cli@0.44.6. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.