second-opinion
Audited by Socket on Mar 10, 2026
1 alert found:
AnomalyThis module is not obviously obfuscated and contains no direct code-injection primitives (no eval/Function). However it implements a privileged bridge that forwards messages between a local WebSocket service and a content script running on grok.com. That enables a local service to request and receive data from a user’s grok.com tab without any apparent authentication or origin checks. This is a potential data-exfiltration/supply-chain risk if the local service is malicious or compromised. If used intentionally to connect to a trusted local helper, this design can be acceptable; in adversarial settings it poses a moderate-to-high privacy risk. Recommend reviewing the content-script behavior to see what data is returned, adding authentication/authorization for the local socket, validating message formats, and restricting or prompting user consent before relaying page data.