This Chrome extension is designed to enhance WhatsApp Web with CRM and marketing automation features. Its main intention is to interact with WhatsApp Web tabs, manage notifications, and handle Google authentication for user data integration.
Key Functionalities:
- On install or action click, it opens or reloads WhatsApp Web tabs.
- Listens for specific messages to perform actions such as modifying HTTP headers, blocking or redirecting certain requests, and updating dynamic rules via
chrome.declarativeNetRequest.
- Handles Google authentication tokens and can fetch user info from Google APIs if requested.
- Sends rich notifications and responds to notification clicks by focusing WhatsApp Web.
API Calls & Network Activity:
- Uses
chrome.declarativeNetRequest to modify, block, or redirect requests to WhatsApp Web and related domains. This is used to adjust Content Security Policy headers, block certain scripts, and manage CORS headers.
- Fetches data from Google APIs when authorized by the user.
- Makes generic API requests via a helper function for backend communication.
Filesystem/Process Execution:
- No direct filesystem or process execution is present.
Obfuscation:
- The code is minified but not obfuscated. Variable names are short, but logic is readable and not intentionally hidden.
Potentially Sensitive Operations:
- The extension can fetch Google user info if the user authorizes it, but this is a standard OAuth flow and not hidden.
- Modifies security headers on WhatsApp Web, which could potentially weaken security but is likely necessary for the extension's features.
No strong indicators of malicious activity were observed.