@lensmcp/vite-plugin@1.25.41
LensMCP Vite plugin — valtio alias, source transform, and browser event bridge.
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe default browser replay records password fields without masking and uploads those recordings to the local LensMCP bridge for storage. Although the destination defaults to loopback and the package is intended for observability, automatic unmasked credential capture is unrelated to ordinary event reporting and creates a concrete credential exposure risk.
Decision evidence
public snapshot- The plugin passes `replay: true` to its injected browser runtime whenever replay is enabled.
- Replay defaults to enabled when no environment setting, option, or capture-file setting disables it.
- The recorder defaults `maskAllInputs` to false and sets `maskInputOptions.password` to false, leaving password inputs unmasked.
- The recorder uploads replay data in POST request bodies to its configured endpoint.
- The plugin configures replay’s endpoint as HTTP on the bridge host and port; the bridge defaults to `127.0.0.1`.
- Replay data is stored under `.lensmcp/replay` by default, with an environment variable override.
- The package is an observability plugin, and its README describes streaming application events to LensMCP over a local WebSocket.
- The bridge defaults to loopback, and replay can be disabled with `LENSMCP_REPLAY=off`.
- The behavior runs when Vite serves the app; package metadata has no install lifecycle scripts.
Source & flagged code
9 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.41.
See all versions of @lensmcp/vite-plugin for other recorded verdicts.
- Avoid installing @lensmcp/vite-plugin@1.25.41. 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.