@lensmcp/vite-plugin@1.25.43
LensMCP Vite plugin — valtio alias, source transform, and browser event bridge.
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe package’s observability purpose explains browser event collection, but its default session replay can capture unmasked form values, including password fields. The inspected code sends recordings to the local bridge and does not show an unrelated external collector, so this warrants a warning rather than a publish block.
Decision evidence
public snapshot- The plugin injects the replay recorder into served pages when replay is enabled; its type documentation says session replay is on by default.
- When no replay option or environment override is set, replayEnabled falls back to the capture settings file and returns enabled if reading or parsing it fails.
- Replay defaults to maskAllInputs false, and the recorder sets password masking to false when maskAllInputs is off.
- The package has no lifecycle scripts; replay runs when the user adds the plugin to a Vite app.
- The README describes the plugin as an observability tool that streams browser events over a local WebSocket.
- The default bridge host is 127.0.0.1, and the served runtime includes a per-start token.
Source & flagged code
7 flaggedPackage metadata claims a different repository identity while copied source loads a runtime dependency bridge.
lib/plugin.jsView on unpkg · L1Source fingerprint signature matches a known malicious package signature; route for source-aware review.
lib/plugin.jsView on unpkgFindings
Affected versions and remediation
This report applies to @lensmcp/vite-plugin@1.25.43.
See all versions of @lensmcp/vite-plugin for other recorded verdicts.
- Review the evidence and your use of @lensmcp/vite-plugin@1.25.43 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.