@lensmcp/vite-plugin@1.25.48
LensMCP Vite plugin — valtio alias, source transform, and browser event bridge.
AI Security Review
scanned 2d ago · by lpm-firewall-aiThe source implements a legitimate local observability feature, but its default session replay captures DOM and input data with masking disabled, while the package README does not describe replay. This is an undisclosed collection risk that warrants a warning, not a publish block, because the data is used by the package's own local feature and no unrelated collector was found.
Decision evidence
public snapshot- The Vite plugin enables session replay by default unless disabled by configuration or the LENSMCP_REPLAY setting.
- The replay recorder uploads captured session data to the bridge using replay endpoints.
- Replay input masking is disabled by default, including password masking; only elements marked data-lens-private are blocked by default.
- The bridge stores replay data under a workspace .lensmcp/replay directory unless its storage path is overridden.
- The README describes browser event streaming but does not mention session replay.
- The package is a Vite observability plugin, and replay is a feature of that purpose.
- Replay data is sent to the package's local bridge and stored locally by default; no unrelated collector was identified.
- The package documents that replay is enabled by default and provides an opt-out.
Source & flagged code
8 flaggedPackage metadata claims a different repository identity while copied source loads a runtime dependency bridge.
lib/plugin.jsView on unpkg · L1The Vite plugin enables session replay by default unless disabled by configuration or the LENSMCP_REPLAY setting.
lib/types.d.tsView on unpkg · L41Findings
Affected versions and remediation
This report applies to @lensmcp/vite-plugin@1.25.48.
See all versions of @lensmcp/vite-plugin for other recorded verdicts.
- Review the evidence and your use of @lensmcp/vite-plugin@1.25.48 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.