@lensmcp/vite-plugin@1.25.26
LensMCP Vite plugin — valtio alias, source transform, and browser event bridge.
AI Security Review
scanned 10d ago · by lpm-firewall-aiThe default replay behavior creates a meaningful privacy risk because it records unmasked inputs, including passwords. The bridge defaults to loopback and the source does not establish unrelated external exfiltration, so this warrants a warning rather than a publish block.
Decision evidence
public snapshot- The plugin is enabled by default for Vite serve and defaults its bridge host to 127.0.0.1; it starts that bridge and injects the client.
- Replay is enabled when no disabling environment setting or capture-file value is present, and the plugin injects the replay module when replay is enabled.
- The recorder defaults to leaving inputs unmasked and explicitly disables password masking; it captures page events for replay.
- Replay chunks are posted to an endpoint derived from the plugin host and port. This can expose sensitive page input to the local collector.
- The publish-event mapper filters sources through a predicate, sanitizes titles and messages, and redacts raw network URLs in the returned event record.
- The replay destination uses the plugin's configured host and port, which default to 127.0.0.1; the inspected source does not establish transfer to an unrelated external service.
Source & flagged code
5 flaggedPackage metadata claims a different repository identity while copied source loads a runtime dependency bridge.
lib/plugin.jsView on unpkg · L1Replay chunks are posted to an endpoint derived from the plugin host and port. This can expose sensitive page input to the local collector.
lib/plugin.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to @lensmcp/vite-plugin@1.25.26.
See all versions of @lensmcp/vite-plugin for other recorded verdicts.
- Review the evidence and your use of @lensmcp/vite-plugin@1.25.26 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.