@lensmcp/vite-plugin@1.25.42
LensMCP Vite plugin — valtio alias, source transform, and browser event bridge.
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe plugin's default behavior includes browser session replay that is not described in its README, so users may not expect page activity to be captured. The inspected upload path targets the configured local bridge, and I found no unrelated external collector or credential theft; this warrants a warning rather than a block.
Decision evidence
public snapshot- Session replay is enabled by default unless disabled by an environment setting, plugin option, or capture file.
- When replay is enabled, the Vite plugin injects a replay script; the recorder starts automatically and tracks page interactions.
- Replay data is POSTed to the configured endpoint; the plugin builds that endpoint from its host and port settings.
- The README describes browser event streaming over a local WebSocket but does not mention session replay.
- The plugin is intended for development-time browser observability, and its README describes sending captured events to a local WebSocket.
- The replay endpoint defaults to the plugin's loopback host; no unrelated external collector was identified.
- The package entry point exports the plugin and does not start it on import.
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.42.
See all versions of @lensmcp/vite-plugin for other recorded verdicts.
- Review the evidence and your use of @lensmcp/vite-plugin@1.25.42 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.