@mnemonik/cli@7.156.2
Mnemonik installer and local project helper
AI Security Review
scanned 9d ago · by lpm-firewall-aiThe install reporter can send a saved bearer to an unrestricted environment-configured origin, so conditional credential exposure warrants a warning. The default destination is package-aligned, and the other flagged dynamic evaluation occurs in WebAssembly loader glue rather than proving a separate attack.
Decision evidence
public snapshot- package.json has no npm lifecycle scripts, so this behavior is not triggered by package installation hooks.
- The CLI API resource can be overridden with MNEMONIK_API_RESOURCE; getCliBearer reads a saved CLI OAuth access token.
- The install readiness reporter obtains that bearer and sends it in an authorization header with readiness data.
- The reporter runs after installation success or failure and uses the configured API origin; the default is api.mnemonik.dev, with no destination allowlist in this path.
- A separate hook request helper takes its server, token, and body as arguments; the inspected code does not show it sourcing saved credentials.
- The eval findings occur in WebAssembly loader glue that builds functions from module-provided bodies; they do not establish remote JavaScript execution.
- The package has no lifecycle scripts; the credential transfer is in the user-invoked install journey.
- The default report destination is the package’s Mnemonik API; exposure depends on configuring an alternate API resource.
- The flagged eval call is in a generated WebAssembly module loader, not evidence that a remote JavaScript response is executed.
Source & flagged code
8 flaggedPackage source references child process execution.
dist/diagnostics.jsView on unpkg · L923Package source references dynamic require/import behavior.
dist/diagnostics.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to @mnemonik/cli@7.156.2.
See all versions of @mnemonik/cli for other recorded verdicts.
- Review the evidence and your use of @mnemonik/cli@7.156.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.