@pmate/cli@0.44.6
CLI utilities for the pMate project
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 · L90Findings
Affected versions and remediation
This report applies to @pmate/cli@0.44.6.
See all versions of @pmate/cli for other recorded verdicts.
- 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.